All regex-redux problem benchmarks

Current benchmark data was generated on Thu Feb 01 2024, full log can be found HERE


[x86_64][4 cores] AMD EPYC 7763 64-Core Processor (Model 1)

* -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 437ms 7.7ms 78.6MB 453ms 17ms rustc 1.75.0
d 3.d 601ms 7.0ms 172.0MB 777ms 20ms ldc2 1.36.0
d 3.d 1276ms 0.9ms 174.9MB 1450ms 37ms dmd 2.106.1
chapel 3.chpl 1388ms 3.3ms 224.1MB 1340ms 40ms chpl 1.31.0
nim 1.nim 1623ms 6.2ms 152.4MB 1583ms 23ms nim/clang 2.0.2
nim 1.nim 1647ms 11ms 151.5MB 1617ms 13ms nim 2.0.2
csharp 6.cs 1736ms 3.9ms 420.5MB 1720ms 107ms dotnet/aot 8.0.101
csharp 5.cs 2003ms 27ms 442.9MB 2103ms 167ms dotnet 8.0.101
python 2250ms 4.5ms 233.5MB 2197ms 33ms pypy 3.10.13
csharp 6.cs 2791ms 7.4ms 441.8MB 2800ms 163ms dotnet 8.0.101
csharp 5.cs 4198ms 19ms 422.4MB 4183ms 120ms dotnet/aot 8.0.101
python 4736ms 9.4ms 226.2MB 4533ms 187ms pyston 3.8.12
dart 1.dart timeout 0.0ms 282.7MB 4920ms 67ms dart/exe 3.2.6
go 3.go timeout 0.0ms 128.0MB 4977ms 47ms go 1.21.6
go 3.go timeout 0.0ms 106.6MB 4980ms 7ms tinygo 0.30.0
java timeout 0.0ms 411.4MB 5437ms 90ms graal/jvm 17.0.8
java timeout 0.0ms 303.5MB 5317ms 57ms openjdk 21
java timeout 0.0ms 303.4MB 5307ms 70ms openjdk 23
java timeout 0.0ms 469.6MB 4963ms 307ms openjdk/zgc 21
kotlin 1.kt timeout 0.0ms 173.0MB 5387ms 50ms kotlin/jvm 21
kotlin 1n.kt timeout 0.0ms 279.0MB 4880ms 1073ms kotlin/native 1.8.21
ocaml timeout 0.0ms 466.4MB 4807ms 173ms ocaml 5.1.1
python timeout 0.0ms 129.4MB 4950ms 37ms cpython 3.12.1
v 1.v timeout 0.0ms 83.1MB 4977ms 7ms v/clang+gc 0.4.4

Input: 250000_in

lang code time stddev peak-mem mem time(user) time(sys) compiler compiler/runtime
rust 51ms 1.6ms 11.6MB 43ms 7ms rustc 1.75.0
d 3.d 67ms 1.4ms 23.6MB 70ms 3ms ldc2 1.36.0
d 3.d 138ms 4.7ms 27.5MB 150ms 3ms dmd 2.106.1
chapel 3.chpl 169ms 0.9ms 52.9MB 150ms 10ms chpl 1.31.0
nim 1.nim 172ms 1.3ms 16.4MB 153ms 7ms nim 2.0.2
nim 1.nim 173ms 1.6ms 16.7MB 160ms 0ms nim/clang 2.0.2
csharp 6.cs 198ms 2.5ms 56.4MB 187ms 20ms dotnet/aot 8.0.101
csharp 5.cs 299ms 0.8ms 79.2MB 253ms 37ms dotnet 8.0.101
python 342ms 4.3ms 75.2MB 303ms 23ms pypy 3.10.13
csharp 6.cs 407ms 1.8ms 77.2MB 367ms 37ms dotnet 8.0.101
csharp 5.cs 448ms 9.0ms 58.2MB 440ms 10ms dotnet/aot 8.0.101
python 493ms 1.8ms 30.5MB 463ms 17ms pyston 3.8.12
ocaml 554ms 9.9ms 57.1MB 520ms 17ms ocaml 5.1.1
dart 1.dart 593ms 10ms 47.9MB 557ms 20ms dart/exe 3.2.6
python 616ms 5.5ms 29.9MB 577ms 20ms cpython 3.12.1
java 783ms 12ms 181.0MB 1160ms 67ms graal/jvm 17.0.8
java 809ms 17ms 130.9MB 1203ms 37ms openjdk 21
java 810ms 3.6ms 130.8MB 1213ms 43ms openjdk 23
kotlin 1-m.kt 825ms 28ms 134.0MB 1250ms 40ms kotlin/jvm 21
java 967ms 17ms 133.5MB 1183ms 177ms openjdk/zgc 21
go 3.go 1859ms 155ms 20.2MB 1833ms 33ms go 1.21.6
go 3.go 2681ms 113ms 30.4MB 2667ms 0ms tinygo 0.30.0
v 1.v 3280ms 64ms 34.3MB 3260ms 7ms v/clang+gc 0.4.4
kotlin 1n.kt 3285ms 241ms 65.0MB 4160ms 13ms kotlin/native 1.8.21