Acton VS Wasm benchmarks

Current benchmark data was generated on Thu Jul 13 2023, full log can be found HERE

CONTRIBUTIONS are WELCOME!

[x86_64][2 cores] Intel(R) Xeon(R) Platinum 8370C CPU @ 2.80GHz (Model 106)

* -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
wasm 1.rs 484ms 1.6ms 28.9MB 463ms 0ms wasmedgec 0.13.1
wasm 1.rs 589ms 0.5ms 17.5MB 570ms 0ms wasmtime 10.0.1
wasm 1.rs 659ms 0.8ms 58.1MB 690ms 7ms node 18.16.1
acton 1.act 753ms 14ms 10.1MB 733ms 17ms actonc 0.16.0

Input: 100000

lang code time stddev peak-mem mem time(user) time(sys) compiler compiler/runtime
wasm 1.rs 132ms 0.7ms 29.7MB 120ms 0ms wasmedgec 0.13.1
wasm 1.rs 157ms 0.3ms 16.7MB 147ms 0ms wasmtime 10.0.1
acton 1.act 227ms 6.0ms 11.0MB 210ms 10ms actonc 0.16.0
wasm 1.rs 233ms 3.6ms 57.6MB 260ms 13ms node 18.16.1

helloworld

Input: QwQ

lang code time stddev peak-mem mem time(user) time(sys) compiler compiler/runtime
wasm 1.rs 7.0ms 1.0ms 16.1MB 0ms 0ms wasmtime 10.0.1
acton 1.act 8.6ms 2.5ms 4.3MB 0ms 0ms actonc 0.16.0
wasm 1.rs 9.9ms 0.9ms 28.8MB 0ms 0ms wasmedgec 0.13.1
wasm 1.rs 47ms 2.4ms 47.3MB 32ms 2ms node 18.16.1

pidigits

Input: 8000

lang code time stddev peak-mem mem time(user) time(sys) compiler compiler/runtime
wasm 2.rs 2761ms 9.1ms 28.6MB 2740ms 3ms wasmedgec 0.13.1
wasm 2.rs 3088ms 0.8ms 17.2MB 3077ms 0ms wasmtime 10.0.1
wasm 2.rs 3251ms 2.8ms 53.8MB 3257ms 10ms node 18.16.1
acton 1.act timeout 0.0ms 12.2MB 5747ms 627ms actonc 0.16.0

Input: 4000

lang code time stddev peak-mem mem time(user) time(sys) compiler compiler/runtime
wasm 2.rs 652ms 3.8ms 28.8MB 637ms 0ms wasmedgec 0.13.1
wasm 2.rs 727ms 1.0ms 16.9MB 710ms 0ms wasmtime 10.0.1
wasm 2.rs 815ms 2.2ms 54.6MB 827ms 13ms node 18.16.1
acton 1.act 2512ms 118ms 8.3MB 2777ms 297ms actonc 0.16.0