All regex-redux problem benchmarks

Current benchmark data was generated on Thu Jul 13 2023, full log can be found HERE


[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.)


Input: 2500000_in

lang code time stddev peak-mem mem time(user) time(sys) compiler compiler/runtime
rust 571ms 3.3ms 78.6MB 607ms 10ms rustc 1.70.0
d 3.d 745ms 1.0ms 167.7MB 953ms 50ms ldc2 1.32.2
d 3.d 1588ms 2.9ms 170.2MB 1823ms 40ms dmd 2.104.1
chapel 3.chpl 1933ms 23ms 221.8MB 1793ms 130ms chpl 1.31.0
nim 1.nim 2492ms 6.4ms 168.0MB 2437ms 37ms nim/clang 1.6.14
nim 1.nim 2557ms 7.1ms 167.1MB 2500ms 37ms nim 1.6.14
python 3325ms 5.1ms 258.9MB 3233ms 73ms pypy 3.10.12
csharp 5.cs 3416ms 65ms 527.1MB 3323ms 220ms dotnet 7.0.306
csharp 6.cs 3599ms 14ms 460.5MB 3483ms 167ms dotnet/aot 7.0.306
csharp 6.cs 3887ms 42ms 517.4MB 3740ms 203ms dotnet 7.0.306
csharp 5.cs timeout 0.0ms 182.6MB 4977ms 67ms dotnet/aot 7.0.306
dart 1.dart timeout 0.0ms 126.7MB 4953ms 30ms dart/exe 3.0.6
go 3.go timeout 0.0ms 125.9MB 4963ms 93ms go 1.20.6
go 3.go timeout 0.0ms 104.1MB 4960ms 20ms tinygo 0.28.1
java timeout 0.0ms 250.5MB 5317ms 63ms graal/jvm 17.0.7
java timeout 0.0ms 204.5MB 5253ms 63ms openjdk 20
java timeout 0.0ms 228.0MB 5277ms 57ms openjdk 22
java timeout 0.0ms 331.8MB 4970ms 223ms openjdk/zgc 20
kotlin 1.kt timeout 0.0ms 161.2MB 5350ms 40ms kotlin/jvm 17.0.2
kotlin 1n.kt timeout 0.0ms 277.0MB 5783ms 483ms kotlin/native 1.8.21
ocaml timeout 0.0ms 181.9MB 4927ms 47ms ocaml 5.0.0
python timeout 0.0ms 107.1MB 4937ms 43ms cpython 3.11.4
python timeout 0.0ms 107.2MB 4937ms 47ms pyston 3.8.12
v 1.v timeout 0.0ms 93.4MB 4963ms 17ms v/clang+gc 0.4.0

Input: 250000_in

lang code time stddev peak-mem mem time(user) time(sys) compiler compiler/runtime
rust 64ms 2.1ms 12.5MB 60ms 0ms rustc 1.70.0
d 3.d 78ms 0.5ms 22.5MB 93ms 0ms ldc2 1.32.2
d 3.d 166ms 1.5ms 27.9MB 173ms 3ms dmd 2.104.1
chapel 3.chpl 216ms 2.4ms 52.8MB 183ms 23ms chpl 1.31.0
nim 1.nim 255ms 0.2ms 17.2MB 240ms 0ms nim/clang 1.6.14
nim 1.nim 264ms 1.1ms 16.8MB 250ms 0ms nim 1.6.14
csharp 6.cs 376ms 0.7ms 72.6MB 353ms 23ms dotnet/aot 7.0.306
python 461ms 0.9ms 101.7MB 420ms 20ms pypy 3.10.12
csharp 5.cs 473ms 8.1ms 90.9MB 417ms 37ms dotnet 7.0.306
csharp 6.cs 563ms 2.8ms 89.0MB 510ms 30ms dotnet 7.0.306
csharp 5.cs 688ms 3.6ms 69.6MB 667ms 17ms dotnet/aot 7.0.306
python 697ms 1.5ms 30.5MB 660ms 17ms pyston 3.8.12
ocaml 705ms 2.8ms 52.5MB 683ms 10ms ocaml 5.0.0
dart 1.dart 758ms 2.0ms 58.2MB 720ms 20ms dart/exe 3.0.6
python 818ms 2.0ms 31.7MB 780ms 20ms cpython 3.11.4
java 1019ms 5.8ms 167.1MB 1397ms 50ms graal/jvm 17.0.7
java 1043ms 13ms 98.4MB 1397ms 27ms openjdk 22
java 1066ms 8.2ms 111.9MB 1410ms 23ms openjdk 20
kotlin 1.kt 1078ms 2.1ms 91.3MB 1450ms 23ms kotlin/jvm 17.0.2
java 1170ms 23ms 156.7MB 1343ms 123ms openjdk/zgc 20
go 3.go 2500ms 12ms 20.9MB 2480ms 20ms go 1.20.6
go 3.go 3216ms 9.2ms 30.0MB 3193ms 7ms tinygo 0.28.1
v 1.v 4207ms 3.5ms 27.8MB 4187ms 3ms v/clang+gc 0.4.0
kotlin 1n.kt 4483ms 22ms 65.0MB 5897ms 23ms kotlin/native 1.8.21