Current benchmark data was generated on Tue Dec 31 2024, 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 | 35ms | 1.9ms | 3.1MB | 23ms | 0ms | crystal 1.14.0 |
crystal | 1.cr | 62ms | 2.8ms | 3.1MB | 50ms | 0ms | crystal 1.14.0 |
dart | 2.dart | 160ms | 5.4ms | 9.3MB | 153ms | 0ms | dart/exe 3.6.0 |
dart | 1.dart | 491ms | 0.3ms | 9.1MB | 477ms | 0ms | dart/exe 3.6.0 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
crystal | 0-unsafe.cr | 94ms | 2.9ms | 3.1MB | 83ms | 0ms | crystal 1.14.0 |
crystal | 1.cr | 173ms | 1.9ms | 3.1MB | 163ms | 0ms | crystal 1.14.0 |
dart | 2.dart | 449ms | 2.2ms | 9.1MB | 440ms | 0ms | dart/exe 3.6.0 |
dart | 1.dart | 1444ms | 9.7ms | 9.1MB | 1433ms | 3ms | dart/exe 3.6.0 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
crystal | 0-unsafe.cr | 17ms | 0.4ms | 3.0MB | 10ms | 0ms | crystal 1.14.0 |
crystal | 1.cr | 28ms | 0.6ms | 3.0MB | 20ms | 0ms | crystal 1.14.0 |
dart | 2.dart | 71ms | 0.4ms | 9.0MB | 57ms | 0ms | dart/exe 3.6.0 |
dart | 1.dart | 107ms | 0.5ms | 9.1MB | 97ms | 0ms | dart/exe 3.6.0 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
dart | 1.dart | 3542ms | 12ms | 6.1MB | 3533ms | 0ms | dart/exe 3.6.0 |
crystal | 1.cr | 3700ms | 16ms | 4.6MB | 3683ms | 3ms | crystal 1.14.0 |
dart | 2.dart | 4104ms | 5.2ms | 6.3MB | 4093ms | 0ms | dart/exe 3.6.0 |