All secp256k1 problem 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.)

secp256k1

Input: 2000

lang code time stddev peak-mem mem time(user) time(sys) compiler compiler/runtime
rust 0.rs 155ms 12ms 1.0MB 147ms 0ms rustc 1.70.0
go 0-ffi.go 170ms 2.7ms 9.4MB 163ms 3ms go 1.20.6
chapel 1.chpl 1543ms 3.8ms 32.4MB 1533ms 0ms chpl 1.31.0
rust 1.rs 1892ms 9.3ms 1.1MB 1877ms 0ms rustc 1.70.0
typescript 1.ts 2497ms 11ms 46.1MB 2493ms 7ms deno 1.35.1
javascript 1.js 2985ms 3.9ms 105.5MB 3003ms 13ms bun 0.6.14
javascript 1.js 3180ms 8.4ms 48.8MB 3170ms 23ms node 20.4.0
csharp 1.cs 3863ms 8.0ms 73.5MB 3823ms 33ms dotnet/aot 7.0.306
csharp 1.cs 4150ms 3.6ms 95.2MB 4147ms 43ms dotnet 7.0.306
python 1.py 4452ms 3.7ms 8.4MB 4433ms 0ms pyston 3.8.12
kotlin 1.kt 4481ms 28ms 182.3MB 5390ms 67ms kotlin/jvm 17.0.2
wasm 1.rs 4503ms 3.2ms 27.3MB 4487ms 0ms wasmedgec 0.13.1
python 1.py 4692ms 27ms 8.5MB 4677ms 0ms cpython 3.11.4
python 1.py 4720ms 4.9ms 84.7MB 4693ms 13ms pypy 3.10.12
wasm 1.rs 4739ms 11ms 66.6MB 4793ms 13ms node 18.16.1
d 1.d timeout 0.0ms 6.4MB 4987ms 0ms dmd 2.104.1
d 1.d timeout 0.0ms 3.9MB 4980ms 10ms ldc2 1.32.2
wasm 1.rs timeout 0.0ms 16.1MB 4983ms 0ms wasmtime 10.0.1

Input: 500

lang code time stddev peak-mem mem time(user) time(sys) compiler compiler/runtime
rust 0.rs 40ms 0.7ms 1.1MB 30ms 0ms rustc 1.70.0
go 0-ffi.go 55ms 1.5ms 9.4MB 43ms 0ms go 1.20.6
chapel 1.chpl 404ms 1.8ms 32.4MB 383ms 7ms chpl 1.31.0
rust 1.rs 475ms 0.7ms 1.0MB 463ms 0ms rustc 1.70.0
typescript 1.ts 663ms 2.3ms 44.7MB 670ms 3ms deno 1.35.1
javascript 1.js 768ms 1.3ms 103.4MB 770ms 17ms bun 0.6.14
javascript 1.js 845ms 3.4ms 47.5MB 837ms 17ms node 20.4.0
csharp 1.cs 997ms 2.8ms 73.4MB 973ms 20ms dotnet/aot 7.0.306
python 1.py 1126ms 1.3ms 8.5MB 1113ms 0ms pyston 3.8.12
wasm 1.rs 1138ms 2.2ms 26.6MB 1120ms 0ms wasmedgec 0.13.1
csharp 1.cs 1171ms 2.6ms 92.2MB 1173ms 33ms dotnet 7.0.306
python 1.py 1182ms 6.4ms 8.4MB 1170ms 0ms cpython 3.11.4
wasm 1.rs 1262ms 8.5ms 66.9MB 1300ms 23ms node 18.16.1
python 1.py 1308ms 2.3ms 81.7MB 1270ms 23ms pypy 3.10.12
wasm 1.rs 1316ms 16ms 16.3MB 1300ms 0ms wasmtime 10.0.1
kotlin 1-m.kt 1367ms 9.6ms 185.2MB 2133ms 47ms kotlin/jvm 17.0.2
d 1.d 1431ms 6.6ms 3.9MB 1420ms 0ms ldc2 1.32.2
d 1.d 3272ms 38ms 6.2MB 3260ms 0ms dmd 2.104.1