All secp256k1 problem benchmarks

Current benchmark data was generated on Wed May 25 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.)

secp256k1

Input: 2000

lang code time stddev peak-mem mem time(user) time(sys) compiler compiler/runtime
rust 0.rs 126ms 8.2ms 0.7MB 117ms 0ms rustc 1.61.0
go 0-ffi.go 151ms 0.9ms 9.4MB 137ms 0ms go 1.18.2
wasm 0.rs 364ms 40ms 9.8MB 350ms 0ms wasmedgec 0.9.1
wasm 0.rs 394ms 22ms 4.9MB 380ms 0ms wasmer/llvm 2.2.1
wasm 0.rs 449ms 23ms 45.2MB 463ms 10ms node 16.15.0
wasm 0.rs 453ms 0.5ms 10.3MB 440ms 0ms wasmtime 0.37.0
chapel 1.chpl 1538ms 3.6ms 32.3MB 1520ms 7ms chpl 1.26.0
rust 1.rs 1769ms 116ms 0.7MB 1757ms 0ms rustc 1.61.0
typescript 1.ts 3132ms 218ms 37.8MB 3167ms 20ms deno 1.22.0
wasm 1.rs 3885ms 281ms 10.3MB 3877ms 0ms wasmedgec 0.9.1
wasm 1.rs 4057ms 287ms 5.0MB 4043ms 0ms wasmer/llvm 2.2.1
javascript 1.js 4145ms 23ms 47.6MB 4160ms 27ms node 18.2.0
python 1.py 4296ms 306ms 8.6MB 4283ms 0ms pyston 3.8.12
kotlin 1.kt 4437ms 132ms 187.6MB 5327ms 63ms kotlin/jvm 17.0.2
csharp 1.cs 4641ms 242ms 79.1MB 4623ms 33ms dotnet 6.0.300
wasm 1.rs 4685ms 30ms 51.0MB 4727ms 10ms node 16.15.0
python 1.py timeout 0.0ms 0.0MB 0ms 0ms cpython 3.10.4
python 1.py timeout 0.0ms 0.0MB 0ms 0ms pypy 3.8.13
wasm 1.rs timeout 0.0ms 0.0MB 0ms 0ms wasmtime 0.37.0

Input: 500

lang code time stddev peak-mem mem time(user) time(sys) compiler compiler/runtime
rust 0.rs 36ms 0.6ms 0.7MB 27ms 0ms rustc 1.61.0
go 0-ffi.go 51ms 0.8ms 11.5MB 33ms 0ms go 1.18.2
wasm 0.rs 97ms 1.9ms 9.8MB 83ms 0ms wasmedgec 0.9.1
wasm 0.rs 109ms 4.9ms 5.7MB 93ms 0ms wasmer/llvm 2.2.1
wasm 0.rs 121ms 0.7ms 9.5MB 110ms 0ms wasmtime 0.37.0
wasm 0.rs 184ms 6.4ms 45.3MB 203ms 7ms node 16.15.0
chapel 1.chpl 399ms 2.2ms 32.3MB 380ms 7ms chpl 1.26.0
rust 1.rs 462ms 0.7ms 0.6MB 450ms 0ms rustc 1.61.0
typescript 1.ts 852ms 56ms 37.7MB 863ms 13ms deno 1.22.0
wasm 1.rs 943ms 3.5ms 10.4MB 923ms 0ms wasmedgec 0.9.1
wasm 1.rs 991ms 68ms 5.7MB 970ms 0ms wasmer/llvm 2.2.1
javascript 1.js 1049ms 70ms 46.8MB 1057ms 10ms node 18.2.0
python 1.py 1128ms 4.1ms 8.7MB 1113ms 0ms pyston 3.8.12
csharp 1.cs 1157ms 36ms 75.0MB 1140ms 23ms dotnet 6.0.300
wasm 1.rs 1267ms 3.5ms 9.8MB 1250ms 0ms wasmtime 0.37.0
wasm 1.rs 1271ms 7.8ms 50.6MB 1303ms 20ms node 16.15.0
kotlin 1-m.kt 1370ms 11ms 193.2MB 2130ms 77ms kotlin/jvm 17.0.2
python 1.py 1465ms 5.2ms 7.3MB 1450ms 0ms cpython 3.10.4
python 1.py 1600ms 4.0ms 80.0MB 1570ms 17ms pypy 3.8.13