Current benchmark data was generated on Mon Apr 14 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 | 37ms | 1.4ms | 2.9MB | 30ms | 0ms | crystal 1.16.0 |
crystal | 1.cr | 64ms | 0.9ms | 2.9MB | 53ms | 0ms | crystal 1.16.0 |
dart | 2.dart | 163ms | 5.4ms | 9.4MB | 153ms | 0ms | dart/exe 3.7.2 |
dart | 1.dart | 498ms | 2.6ms | 9.3MB | 490ms | 0ms | dart/exe 3.7.2 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
crystal | 0-unsafe.cr | 99ms | 1.1ms | 2.9MB | 90ms | 0ms | crystal 1.16.0 |
crystal | 1.cr | 185ms | 0.7ms | 2.9MB | 173ms | 0ms | crystal 1.16.0 |
dart | 2.dart | 476ms | 1.7ms | 9.3MB | 463ms | 0ms | dart/exe 3.7.2 |
dart | 1.dart | 1484ms | 9.2ms | 9.3MB | 1467ms | 3ms | dart/exe 3.7.2 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
crystal | 0-unsafe.cr | 18ms | 1.3ms | 2.9MB | 10ms | 0ms | crystal 1.16.0 |
crystal | 1.cr | 30ms | 1.7ms | 2.9MB | 20ms | 0ms | crystal 1.16.0 |
dart | 2.dart | 77ms | 1.0ms | 9.5MB | 67ms | 0ms | dart/exe 3.7.2 |
dart | 1.dart | 117ms | 0.8ms | 8.6MB | 103ms | 0ms | dart/exe 3.7.2 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
crystal | 1.cr | 3762ms | 7.2ms | 4.5MB | 3753ms | 0ms | crystal 1.16.0 |
dart | 1.dart | 3773ms | 11ms | 6.4MB | 3760ms | 0ms | dart/exe 3.7.2 |
dart | 2.dart | 4339ms | 3.8ms | 6.5MB | 4330ms | 0ms | dart/exe 3.7.2 |