Current benchmark data was generated on Mon May 19 2025, full log can be found HERE
CONTRIBUTIONS are WELCOME!
* -m in a file name stands for multi-threading or multi-processing
* -i in a file name stands for direct intrinsics usage. (Usage of simd intrinsics via libraries is not counted)
* -ffi in a file name stands for non-stdlib FFI usage
* (You may find time < time(user) + time(sys) for some non-parallelized programs, the overhead is from GC or JIT compiler, which are allowed to take advantage of multi-cores as that's more close to real-world scenarios.)
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
crystal | 0-unsafe.cr | 36ms | 1.4ms | 3.0MB | 30ms | 0ms | crystal 1.16.3 |
crystal | 1.cr | 64ms | 1.6ms | 3.0MB | 57ms | 0ms | crystal 1.16.3 |
dart | 2.dart | 171ms | 2.6ms | 9.1MB | 160ms | 0ms | dart/exe 3.7.3 |
dart | 1.dart | 491ms | 3.1ms | 9.4MB | 477ms | 0ms | dart/exe 3.7.3 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
crystal | 0-unsafe.cr | 100ms | 1.1ms | 3.0MB | 90ms | 0ms | crystal 1.16.3 |
crystal | 1.cr | 185ms | 1.4ms | 3.0MB | 173ms | 0ms | crystal 1.16.3 |
dart | 2.dart | 493ms | 3.6ms | 9.1MB | 483ms | 0ms | dart/exe 3.7.3 |
dart | 1.dart | 1457ms | 2.8ms | 9.4MB | 1440ms | 10ms | dart/exe 3.7.3 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
crystal | 0-unsafe.cr | 18ms | 0.3ms | 3.0MB | 10ms | 0ms | crystal 1.16.3 |
crystal | 1.cr | 31ms | 1.1ms | 3.0MB | 20ms | 0ms | crystal 1.16.3 |
dart | 2.dart | 80ms | 0.7ms | 9.4MB | 70ms | 0ms | dart/exe 3.7.3 |
dart | 1.dart | 110ms | 1.1ms | 8.6MB | 100ms | 0ms | dart/exe 3.7.3 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
crystal | 1.cr | 3761ms | 7.0ms | 4.5MB | 3750ms | 0ms | crystal 1.16.3 |
dart | 1.dart | 3808ms | 27ms | 6.5MB | 3793ms | 0ms | dart/exe 3.7.3 |
dart | 2.dart | 4346ms | 9.0ms | 6.4MB | 4337ms | 0ms | dart/exe 3.7.3 |