All secp256k1 problem benchmarks

Current benchmark data was generated on Mon Oct 03 2022, 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.)

secp256k1

Input: 2000

lang code time stddev peak-mem mem time(user) time(sys) compiler compiler/runtime
rust 0.rs 152ms 5.5ms 0.7MB 147ms 0ms rustc 1.64.0
go 0-ffi.go 171ms 1.2ms 10.0MB 160ms 3ms go 1.19.1
wasm 0.rs 416ms 0.3ms 4.8MB 403ms 0ms wasmer/llvm 2.3.0
wasm 0.rs 417ms 0.2ms 18.7MB 403ms 0ms wasmedgec 0.11.0
wasm 0.rs 471ms 0.4ms 9.8MB 460ms 0ms wasmtime 1.0.1
wasm 0.rs 505ms 2.3ms 46.4MB 533ms 3ms node 16.17.0
chapel 1.chpl 1533ms 0.6ms 32.3MB 1520ms 0ms chpl 1.28.0
rust 1.rs 2062ms 0.5ms 0.7MB 2050ms 0ms rustc 1.64.0
typescript 1.ts 2614ms 1.0ms 39.6MB 2620ms 0ms deno 1.26.0
javascript 1.js 2933ms 4.0ms 101.0MB 2953ms 23ms bun 0.1.13
javascript 1.js 3542ms 52ms 52.1MB 3547ms 17ms node 18.10.0
csharp 1.cs 4397ms 116ms 91.0MB 4377ms 27ms dotnet 6.0.401
wasm 1.rs 4444ms 1.6ms 4.8MB 4430ms 0ms wasmer/llvm 2.3.0
python 1.py 4469ms 28ms 8.4MB 4457ms 0ms pyston 3.8.12
kotlin 1.kt 4483ms 33ms 189.8MB 5407ms 53ms kotlin/jvm 17.0.2
wasm 1.rs 4722ms 157ms 19.0MB 4710ms 0ms wasmedgec 0.11.0
python 1.py 4785ms 6.9ms 87.1MB 4753ms 10ms pypy 3.8.13
wasm 1.rs 4876ms 17ms 52.2MB 4923ms 7ms node 16.17.0
d 1.d timeout 0.0ms 0.0MB 0ms 0ms dmd 2.100.2
d 1.d timeout 0.0ms 0.0MB 0ms 0ms ldc2 1.30.0
python 1.py timeout 0.0ms 0.0MB 0ms 0ms cpython 3.10.7
wasm 1.rs timeout 0.0ms 0.0MB 0ms 0ms wasmtime 1.0.1

Input: 500

lang code time stddev peak-mem mem time(user) time(sys) compiler compiler/runtime
rust 0.rs 40ms 1.5ms 0.7MB 30ms 0ms rustc 1.64.0
go 0-ffi.go 56ms 1.0ms 10.2MB 43ms 0ms go 1.19.1
wasm 0.rs 107ms 0.5ms 4.8MB 100ms 0ms wasmer/llvm 2.3.0
wasm 0.rs 111ms 0.3ms 18.8MB 100ms 0ms wasmedgec 0.11.0
wasm 0.rs 124ms 1.0ms 11.4MB 113ms 0ms wasmtime 1.0.1
wasm 0.rs 203ms 3.0ms 46.5MB 233ms 3ms node 16.17.0
chapel 1.chpl 400ms 0.4ms 32.3MB 390ms 3ms chpl 1.28.0
rust 1.rs 507ms 20ms 0.6MB 497ms 0ms rustc 1.64.0
typescript 1.ts 717ms 40ms 39.5MB 707ms 3ms deno 1.26.0
javascript 1.js 761ms 7.1ms 104.6MB 757ms 27ms bun 0.1.13
javascript 1.js 937ms 4.7ms 50.7MB 933ms 13ms node 18.10.0
wasm 1.rs 1116ms 1.3ms 4.8MB 1100ms 0ms wasmer/llvm 2.3.0
python 1.py 1127ms 3.9ms 8.4MB 1113ms 0ms pyston 3.8.12
wasm 1.rs 1143ms 0.7ms 19.1MB 1130ms 0ms wasmedgec 0.11.0
csharp 1.cs 1170ms 9.4ms 90.6MB 1147ms 27ms dotnet 6.0.401
wasm 1.rs 1287ms 4.8ms 10.8MB 1277ms 0ms wasmtime 1.0.1
wasm 1.rs 1327ms 19ms 52.1MB 1377ms 13ms node 16.17.0
python 1.py 1348ms 2.4ms 84.4MB 1323ms 10ms pypy 3.8.13
kotlin 1-m.kt 1369ms 12ms 191.8MB 2107ms 50ms kotlin/jvm 17.0.2
d 1.d 1455ms 3.6ms 3.8MB 1450ms 0ms ldc2 1.30.0
python 1.py 1480ms 1.3ms 7.3MB 1463ms 0ms cpython 3.10.7
d 1.d 3193ms 0.9ms 5.1MB 3190ms 0ms dmd 2.100.2