All secp256k1 problem benchmarks

Current benchmark data was generated on Mon Feb 06 2023, 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.)

secp256k1

Input: 2000

lang code time stddev peak-mem mem time(user) time(sys) compiler compiler/runtime
rust 0.rs 137ms 0.2ms 1.1MB 130ms 0ms rustc 1.67.0
go 0-ffi.go 151ms 1.1ms 9.2MB 137ms 3ms go 1.19.5
wasm 0.rs 377ms 0.5ms 16.4MB 360ms 0ms wasmedgec 0.11.2
wasm 0.rs 430ms 3.0ms 11.3MB 423ms 0ms wasmtime 5.0.0
wasm 0.rs 454ms 1.8ms 46.8MB 487ms 0ms node 16.19.0
chapel 1.chpl 1487ms 0.9ms 32.3MB 1467ms 7ms chpl 1.29.0
rust 1.rs 1900ms 67ms 1.0MB 1890ms 0ms rustc 1.67.0
typescript 1.ts 3043ms 18ms 37.7MB 3040ms 7ms deno 1.30.2
javascript 1.js 3800ms 8.2ms 105.6MB 3820ms 23ms bun 0.5.5
javascript 1.js 3968ms 20ms 52.3MB 3973ms 10ms node 19.6.0
csharp 1.cs 4232ms 13ms 58.0MB 4203ms 23ms dotnet/aot 7.0.102
wasm 1.rs 4260ms 7.7ms 16.5MB 4243ms 0ms wasmedgec 0.11.2
csharp 1.cs 4378ms 49ms 152.1MB 4320ms 63ms dotnet 7.0.102
python 1.py 4421ms 15ms 8.4MB 4410ms 0ms pyston 3.8.12
kotlin 1.kt 4515ms 7.7ms 187.0MB 5427ms 73ms kotlin/jvm 17.0.2
wasm 1.rs 4637ms 19ms 59.2MB 4680ms 10ms node 16.19.0
python 1.py 4722ms 2.6ms 8.4MB 4707ms 0ms cpython 3.11.1
wasm 1.rs 4959ms 9.1ms 11.0MB 4947ms 0ms wasmtime 5.0.0
d 1.d timeout 0.0ms 6.0MB 5003ms 0ms dmd 2.102.0
d 1.d timeout 0.0ms 3.7MB 4987ms 13ms ldc2 1.30.0
python 1.py timeout 0.0ms 77.8MB 4967ms 17ms pypy 3.9.16

Input: 500

lang code time stddev peak-mem mem time(user) time(sys) compiler compiler/runtime
rust 0.rs 37ms 0.4ms 1.0MB 27ms 0ms rustc 1.67.0
go 0-ffi.go 51ms 1.8ms 9.7MB 37ms 0ms go 1.19.5
wasm 0.rs 102ms 3.1ms 15.9MB 87ms 0ms wasmedgec 0.11.2
wasm 0.rs 116ms 2.7ms 11.4MB 103ms 0ms wasmtime 5.0.0
wasm 0.rs 191ms 2.8ms 47.0MB 207ms 10ms node 16.19.0
chapel 1.chpl 389ms 3.8ms 32.3MB 370ms 3ms chpl 1.29.0
rust 1.rs 466ms 0.4ms 1.1MB 453ms 0ms rustc 1.67.0
typescript 1.ts 791ms 9.2ms 38.0MB 797ms 7ms deno 1.30.2
javascript 1.js 980ms 3.5ms 101.9MB 977ms 30ms bun 0.5.5
javascript 1.js 1034ms 6.4ms 50.2MB 1027ms 13ms node 19.6.0
wasm 1.rs 1072ms 1.9ms 15.4MB 1050ms 0ms wasmedgec 0.11.2
csharp 1.cs 1086ms 4.7ms 57.8MB 1060ms 17ms dotnet/aot 7.0.102
python 1.py 1117ms 1.0ms 8.4MB 1107ms 0ms pyston 3.8.12
python 1.py 1198ms 8.4ms 8.5MB 1180ms 0ms cpython 3.11.1
wasm 1.rs 1250ms 3.2ms 11.5MB 1237ms 0ms wasmtime 5.0.0
csharp 1.cs 1267ms 45ms 147.0MB 1203ms 57ms dotnet 7.0.102
wasm 1.rs 1275ms 3.6ms 58.6MB 1320ms 13ms node 16.19.0
kotlin 1-m.kt 1387ms 15ms 186.2MB 2147ms 67ms kotlin/jvm 17.0.2
python 1.py 1495ms 7.0ms 74.8MB 1467ms 17ms pypy 3.9.16
d 1.d 1514ms 25ms 3.7MB 1500ms 7ms ldc2 1.30.0
d 1.d 2995ms 5.5ms 6.0MB 2987ms 0ms dmd 2.102.0