Current benchmark data was generated on Sun Dec 01 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 |
---|---|---|---|---|---|---|---|
codon | 1.py | 4.2ms | 0.5ms | 6.9MB | 0ms | 0ms | codon 0.17.0 |
java | 1.java | 68ms | 3.0ms | 59.0MB | 70ms | 20ms | graal/jvm 17.0.8 |
java | 1.java | 73ms | 4.6ms | 44.8MB | 74ms | 22ms | openjdk 23 |
java | 1.java | 77ms | 1.6ms | 43.8MB | 76ms | 20ms | openjdk 21 |
java | 1.java | 187ms | 4.1ms | 44.6MB | 82ms | 128ms | openjdk/zgc 21 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
java | 1.java | 443ms | 2.2ms | 45.3MB | 480ms | 13ms | openjdk 21 |
java | 1.java | 448ms | 1.5ms | 48.5MB | 483ms | 20ms | openjdk 23 |
java | 1.java | 450ms | 4.6ms | 83.3MB | 477ms | 30ms | graal/jvm 17.0.8 |
java | 1.java | 569ms | 1.3ms | 46.9MB | 493ms | 137ms | openjdk/zgc 21 |
java | 2.java | 1248ms | 2.9ms | 611.8MB | 1370ms | 97ms | openjdk 21 |
java | 2.java | 1255ms | 4.8ms | 780.5MB | 1383ms | 97ms | openjdk 23 |
codon | 1.py | 1306ms | 9.3ms | 7.7MB | 1293ms | 0ms | codon 0.17.0 |
java | 2.java | 3283ms | 56ms | 2413.4MB | 1647ms | 1847ms | openjdk/zgc 21 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
java | 1.java | 120ms | 2.1ms | 87.3MB | 137ms | 37ms | graal/jvm 17.0.8 |
java | 1.java | 121ms | 1.0ms | 45.4MB | 163ms | 17ms | openjdk 21 |
java | 1.java | 123ms | 1.3ms | 48.3MB | 157ms | 13ms | openjdk 23 |
codon | 1.py | 136ms | 1.5ms | 7.7MB | 120ms | 0ms | codon 0.17.0 |
java | 1.java | 245ms | 0.4ms | 44.9MB | 160ms | 140ms | openjdk/zgc 21 |
java | 2-m.java | 307ms | 2.9ms | 343.0MB | 450ms | 57ms | openjdk 21 |
java | 2-m.java | 313ms | 5.4ms | 387.7MB | 447ms | 67ms | openjdk 23 |
java | 2.java | 704ms | 8.8ms | 536.4MB | 473ms | 420ms | openjdk/zgc 21 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
codon | 1.py | 388ms | 15ms | 46.5MB | 370ms | 3ms | codon 0.17.0 |
java | 1.java | 420ms | 1.7ms | 118.1MB | 460ms | 20ms | openjdk 23 |
java | 1.java | 432ms | 8.9ms | 115.2MB | 487ms | 20ms | openjdk 21 |
java | 1.java | 604ms | 2.3ms | 112.6MB | 513ms | 163ms | openjdk/zgc 21 |
java | 1-m.java | 703ms | 85ms | 239.9MB | 1043ms | 80ms | graal/jvm 17.0.8 |
java | 2.java | 781ms | 3.3ms | 60.6MB | 833ms | 13ms | openjdk 23 |
java | 2.java | 789ms | 8.6ms | 57.0MB | 850ms | 20ms | openjdk 21 |
java | 2.java | 844ms | 0.9ms | 55.1MB | 773ms | 147ms | openjdk/zgc 21 |
codon | 2.py | 904ms | 9.6ms | 99.9MB | 880ms | 20ms | codon 0.17.0 |
java | 2-m.java | 1312ms | 74ms | 240.5MB | 2287ms | 103ms | graal/jvm 17.0.8 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
codon | 1.py | 74ms | 3.4ms | 17.3MB | 63ms | 0ms | codon 0.17.0 |
java | 1.java | 158ms | 0.5ms | 68.0MB | 200ms | 23ms | openjdk 23 |
java | 1.java | 164ms | 12ms | 64.9MB | 210ms | 27ms | openjdk 21 |
codon | 2.py | 199ms | 0.4ms | 25.7MB | 190ms | 0ms | codon 0.17.0 |
java | 1-m.java | 247ms | 12ms | 144.7MB | 343ms | 60ms | graal/jvm 17.0.8 |
java | 2.java | 260ms | 4.2ms | 50.2MB | 320ms | 23ms | openjdk 21 |
java | 2.java | 264ms | 2.9ms | 50.4MB | 313ms | 23ms | openjdk 23 |
java | 1.java | 288ms | 1.8ms | 61.6MB | 210ms | 147ms | openjdk/zgc 21 |
java | 2.java | 368ms | 4.5ms | 49.4MB | 317ms | 130ms | openjdk/zgc 21 |
java | 2-m.java | 474ms | 5.2ms | 194.3MB | 823ms | 70ms | graal/jvm 17.0.8 |