Acton VS Java benchmarks

Current benchmark data was generated on Fri Dec 09 2022, full log can be found HERE

CONTRIBUTIONS are WELCOME!

[x86_64][2 cores] Intel(R) Xeon(R) Platinum 8272CL CPU @ 2.60GHz (Model 85)

* -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.)

edigits

Input: 250001

lang code time stddev peak-mem mem time(user) time(sys) compiler compiler/runtime
acton 1.act 548ms 11ms 7.4MB 487ms 43ms actonc 0.14.2
java 1-m.java 841ms 122ms 215.6MB 1477ms 67ms openjdk 20
java 1-m.java 866ms 96ms 204.6MB 1483ms 87ms openjdk 19
java 1-m.java 882ms 59ms 317.1MB 1523ms 113ms graal/jvm 17.0.5
java 1-m.java 1006ms 17ms 435.0MB 1433ms 323ms openjdk/zgc 19

Input: 100000

lang code time stddev peak-mem mem time(user) time(sys) compiler compiler/runtime
acton 1.act 202ms 1.2ms 5.3MB 183ms 3ms actonc 0.14.2
java 1-m.java 430ms 37ms 166.7MB 680ms 63ms graal/jvm 17.0.5
java 1-m.java 432ms 11ms 115.8MB 690ms 53ms openjdk 19
java 1-m.java 443ms 26ms 117.3MB 717ms 50ms openjdk 20
java 1-m.java 595ms 83ms 224.6MB 823ms 183ms openjdk/zgc 19

helloworld

Input: QwQ

lang code time stddev peak-mem mem time(user) time(sys) compiler compiler/runtime
acton 1.act 5.2ms 3.9ms 3.1MB 0ms 0ms actonc 0.14.2
java 1.java 77ms 6.0ms 61.5MB 65ms 15ms graal/jvm 17.0.5
java 1.java 81ms 8.0ms 41.8MB 80ms 8ms openjdk 19
java 1.java 85ms 6.9ms 39.1MB 72ms 18ms openjdk 20
java 1.java 134ms 6.1ms 41.5MB 78ms 60ms openjdk/zgc 19

pidigits

Input: 8000

lang code time stddev peak-mem mem time(user) time(sys) compiler compiler/runtime
acton 1.act 4902ms 85ms 7.8MB 4477ms 777ms actonc 0.14.2
java 1.java timeout 0.0ms 0.0MB 0ms 0ms graal/jvm 17.0.5
java 1.java timeout 0.0ms 0.0MB 0ms 0ms openjdk 19
java 1.java timeout 0.0ms 0.0MB 0ms 0ms openjdk 20
java 1.java timeout 0.0ms 0.0MB 0ms 0ms openjdk/zgc 19

Input: 4000

lang code time stddev peak-mem mem time(user) time(sys) compiler compiler/runtime
java 1.java 1411ms 13ms 274.7MB 1673ms 87ms openjdk 20
java 1.java 1432ms 9.2ms 286.8MB 1687ms 103ms openjdk 19
acton 1.act 1475ms 7.3ms 6.4MB 1327ms 277ms actonc 0.14.2
java 1.java 1516ms 1.6ms 328.1MB 1873ms 110ms graal/jvm 17.0.5
java 1.java 2019ms 17ms 1012.1MB 1593ms 743ms openjdk/zgc 19