Acton VS Wasm 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
wasm 1.rs 474ms 0.8ms 16.8MB 460ms 0ms wasmedgec 0.11.2
acton 1.act 548ms 11ms 7.4MB 487ms 43ms actonc 0.14.2
wasm 1.rs 652ms 4.9ms 48.8MB 693ms 10ms node 16.18.1
wasm 1.rs 667ms 0.5ms 11.9MB 650ms 0ms wasmtime 3.0.1

Input: 100000

lang code time stddev peak-mem mem time(user) time(sys) compiler compiler/runtime
wasm 1.rs 128ms 0.6ms 16.9MB 113ms 0ms wasmedgec 0.11.2
wasm 1.rs 176ms 1.2ms 11.1MB 163ms 0ms wasmtime 3.0.1
acton 1.act 202ms 1.2ms 5.3MB 183ms 3ms actonc 0.14.2
wasm 1.rs 257ms 1.3ms 49.1MB 290ms 17ms node 16.18.1

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
wasm 1.rs 5.7ms 0.6ms 9.4MB 0ms 0ms wasmtime 3.0.1
wasm 1.rs 6.4ms 0.4ms 15.4MB 0ms 0ms wasmedgec 0.11.2
wasm 1.rs 80ms 2.7ms 43.9MB 92ms 4ms node 16.18.1

pidigits

Input: 8000

lang code time stddev peak-mem mem time(user) time(sys) compiler compiler/runtime
wasm 2.rs 2862ms 5.3ms 17.3MB 2840ms 0ms wasmedgec 0.11.2
wasm 2.rs 3323ms 3.4ms 11.4MB 3303ms 3ms wasmtime 3.0.1
wasm 2.rs 3349ms 6.7ms 49.4MB 3383ms 10ms node 16.18.1
acton 1.act 4902ms 85ms 7.8MB 4477ms 777ms actonc 0.14.2

Input: 4000

lang code time stddev peak-mem mem time(user) time(sys) compiler compiler/runtime
wasm 2.rs 678ms 0.4ms 16.2MB 667ms 0ms wasmedgec 0.11.2
wasm 2.rs 790ms 0.3ms 10.8MB 780ms 0ms wasmtime 3.0.1
wasm 2.rs 879ms 2.3ms 49.4MB 917ms 3ms node 16.18.1
acton 1.act 1475ms 7.3ms 6.4MB 1327ms 277ms actonc 0.14.2