Continuous NapkinMath
Open-source benchmarks, run on real cloud machines every day.
Inspired by Simon Eskildsen's Napkin Math.
Latest runs
- 5 machines · 187 Runs · 0 failed
- 5 machines · 187 Runs · 0 failed
- 5 machines · 187 Runs · 0 failed
Read memory sequentially
GB/s · more is faster
Hash 64 bytes with SHA-256
ns · less is faster
Make a system call
ns · less is faster
All benchmarks
AWS, us-east-2. Each number is a median and links to the Runs behind it.
| m5.large$0.096/h | c8i.2xlarge$0.37484/h | c8a.2xlarge$0.43108/h | i4i.2xlarge$0.686/h | c6i.8xlarge$1.36/h | |
|---|---|---|---|---|---|
| Memory | |||||
| Read memory sequentiallyGB/s | 12.51 | 19.89 | 46.18 | 13.69 | 13.94 |
| Read memory in random orderGB/s | 3.483 | 5.021 | 14.41 | 3.878 | 3.886 |
| Write memory sequentiallyGB/s | 10.00 | 17.57 | 33.09 | 11.38 | 11.53 |
| Unpack 8-bit integersGB/s | 17.30 | 42.04 | 51.60 | 19.82 | 19.87 |
| Compute | |||||
| Hash 64 bytes with SHA-256ns | 571.4 | 76.69 | 58.81 | 101.2 | 101.2 |
| Sort 1 MiB of 64-bit keysµs | 3289 | 1680 | 858.5 | 2853 | 2857 |
| Operating system | |||||
| Make a system callns | 424.0 | 60.94 | 39.82 | 93.25 | 93.24 |
| Lock and unlock a mutexns per critical section | 17.51 | 13.64 | 10.20 | 18.39 | 18.39 |
| Echo 32 KiB over loopback TCPµs | 26.46 | 46.27 | 6.872 | 24.84 | 24.59 |
| Disk | |||||
| Read a file sequentiallyMB/s | 131.3 | 131.1 | 131.1 | 131.1 | 131.1 |
| Read 8 KiB from diskµs | 582.7 | 637.9 | 576.8 | 586.7 | 587.4 |
| Random 4 KiB reads, 64 submittedµs | 333.4 | 333.4 | 333.3 | 333.3 | 333.3 |
| Write 8 KiB durablyµs | 910.3 | 979.7 | 900.1 | 912.1 | 911.9 |
| Network | |||||
| GET 4 KiB from S3ms | 22.67 | 22.96 | 22.83 | 22.68 | 22.68 |
LedgerMath began as a port of Simon Eskildsen's Napkin Math.