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 |
---|---|---|---|---|---|---|---|
codon | 1.py | 4.0ms | 0.7ms | 7.1MB | 0ms | 0ms | codon 0.17.0 |
java | 1.java | 61ms | 1.3ms | 58.6MB | 60ms | 20ms | graal/jvm 17.0.8 |
java | 1.java | 69ms | 2.9ms | 44.7MB | 66ms | 14ms | openjdk 23 |
java | 1.java | 69ms | 1.0ms | 43.8MB | 72ms | 10ms | openjdk 21 |
java | 1.java | 174ms | 5.3ms | 44.5MB | 80ms | 116ms | openjdk/zgc 21 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
java | 1.java | 417ms | 2.4ms | 45.2MB | 450ms | 13ms | openjdk 21 |
java | 1.java | 420ms | 6.1ms | 48.2MB | 450ms | 20ms | openjdk 23 |
java | 1.java | 429ms | 7.0ms | 85.0MB | 457ms | 27ms | graal/jvm 17.0.8 |
java | 1.java | 530ms | 6.4ms | 46.5MB | 450ms | 130ms | openjdk/zgc 21 |
java | 2.java | 1166ms | 4.4ms | 571.8MB | 1293ms | 77ms | openjdk 21 |
java | 2.java | 1187ms | 9.7ms | 717.8MB | 1287ms | 90ms | openjdk 23 |
codon | 1.py | 1232ms | 11ms | 5.8MB | 1220ms | 0ms | codon 0.17.0 |
java | 2.java | 3101ms | 57ms | 2431.6MB | 1560ms | 1743ms | openjdk/zgc 21 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
java | 1.java | 111ms | 2.5ms | 45.2MB | 137ms | 20ms | openjdk 21 |
java | 1.java | 112ms | 0.7ms | 87.3MB | 130ms | 30ms | graal/jvm 17.0.8 |
java | 1.java | 114ms | 1.2ms | 48.5MB | 140ms | 20ms | openjdk 23 |
codon | 1.py | 131ms | 4.2ms | 7.7MB | 120ms | 0ms | codon 0.17.0 |
java | 1.java | 230ms | 5.1ms | 46.5MB | 150ms | 133ms | openjdk/zgc 21 |
java | 2-m.java | 289ms | 6.3ms | 348.4MB | 407ms | 70ms | openjdk 23 |
java | 2-m.java | 293ms | 18ms | 355.0MB | 440ms | 30ms | openjdk 21 |
java | 2.java | 658ms | 2.3ms | 536.9MB | 437ms | 403ms | openjdk/zgc 21 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
codon | 1.py | 348ms | 9.8ms | 46.5MB | 333ms | 0ms | codon 0.17.0 |
java | 1.java | 367ms | 5.0ms | 118.1MB | 397ms | 27ms | openjdk 23 |
java | 1.java | 367ms | 3.8ms | 114.6MB | 413ms | 27ms | openjdk 21 |
java | 1.java | 535ms | 4.6ms | 114.6MB | 440ms | 157ms | openjdk/zgc 21 |
java | 1-m.java | 654ms | 9.2ms | 208.3MB | 983ms | 70ms | graal/jvm 17.0.8 |
java | 2.java | 734ms | 5.2ms | 57.1MB | 777ms | 23ms | openjdk 21 |
java | 2.java | 750ms | 10ms | 60.4MB | 790ms | 20ms | openjdk 23 |
java | 2.java | 804ms | 11ms | 53.3MB | 740ms | 130ms | openjdk/zgc 21 |
codon | 2.py | 805ms | 5.6ms | 99.9MB | 790ms | 13ms | codon 0.17.0 |
java | 2-m.java | 1277ms | 30ms | 265.2MB | 2290ms | 83ms | graal/jvm 17.0.8 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
codon | 1.py | 71ms | 1.3ms | 15.3MB | 57ms | 0ms | codon 0.17.0 |
java | 1.java | 140ms | 4.3ms | 68.2MB | 177ms | 17ms | openjdk 23 |
java | 1.java | 151ms | 8.4ms | 65.3MB | 200ms | 17ms | openjdk 21 |
codon | 2.py | 185ms | 0.8ms | 25.8MB | 170ms | 3ms | codon 0.17.0 |
java | 1-m.java | 210ms | 26ms | 127.6MB | 297ms | 50ms | graal/jvm 17.0.8 |
java | 2.java | 244ms | 4.8ms | 50.3MB | 297ms | 20ms | openjdk 21 |
java | 2.java | 249ms | 5.7ms | 50.9MB | 290ms | 20ms | openjdk 23 |
java | 1.java | 264ms | 1.7ms | 63.3MB | 193ms | 133ms | openjdk/zgc 21 |
java | 2.java | 348ms | 11ms | 49.4MB | 273ms | 137ms | openjdk/zgc 21 |
java | 2-m.java | 489ms | 42ms | 151.7MB | 883ms | 47ms | graal/jvm 17.0.8 |