All helloworld problem benchmarks

Current benchmark data was generated on Fri Dec 09 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.)

helloworld

Input: QwQ

lang code time stddev peak-mem mem time(user) time(sys) compiler compiler/runtime
rust 1.rs 1.6ms 0.8ms 1.0MB 0ms 0ms rustc 1.67.0-nightly
rust 1.rs 1.8ms 0.6ms 1.8MB 0ms 0ms rustc 1.65.0
nim 1.nim 1.8ms 0.6ms 1.2MB 0ms 0ms nim/clang 1.6.10
c 1.c 1.8ms 0.7ms 1.3MB 0ms 0ms gcc 12.2.0
zig 1.zig 1.9ms 0.8ms 1.0MB 0ms 0ms zig 0.11.0-dev.632+d69e97ae1
v 1.v 1.9ms 0.3ms 2.0MB 0ms 0ms v/clang+gc 0.3.2
lua 1.lua 1.9ms 0.4ms 2.2MB 0ms 0ms luajit 2.1.0-beta3
nim 1.nim 2.0ms 1.0ms 1.0MB 0ms 0ms nim 1.6.10
cpp 1.cpp 2.0ms 1.0ms 1.4MB 0ms 0ms clang++ 14.0.0
cpp 1.cpp 2.0ms 0.8ms 1.3MB 0ms 0ms g++ 12.2.0
go 1.go 2.0ms 1.5ms 0.0MB 0ms 0ms tinygo 0.25.0
d 1.d 2.0ms 0.7ms 2.9MB 0ms 0ms ldc2 1.30.0
v 1.v 2.1ms 0.6ms 2.1MB 0ms 0ms v/clang 0.3.2
c 1.c 2.1ms 0.7ms 0.9MB 0ms 0ms zigcc 0.11.0-dev.632+d69e97ae1
odin 1.odin 2.1ms 0.4ms 1.3MB 0ms 0ms odin 2022
d 1.d 2.1ms 0.4ms 3.9MB 0ms 0ms dmd 2.101.0
lua 1.lua 2.2ms 1.0ms 1.5MB 0ms 0ms lua 5.4.4
kotlin 1.kt 2.2ms 0.6ms 1.5MB 0ms 0ms kotlin/native 1.7.22
ocaml 1.ml 2.3ms 0.6ms 2.5MB 0ms 0ms ocaml 4.14.0
crystal 1.cr 2.5ms 0.6ms 3.0MB 0ms 0ms crystal 1.6.2
go 1.go 2.6ms 0.3ms 2.9MB 0ms 0ms go 1.19.4
haxe 1.hx 2.7ms 0.5ms 3.2MB 0ms 0ms haxe/cpp 4.2.5
haxe 1.hx 2.9ms 0.9ms 2.4MB 0ms 0ms haxe/hl/c 4.2.5
perl 1.pl 3.2ms 0.6ms 4.9MB 0ms 0ms perl 5.36.0
c 1.c 3.4ms 0.5ms 0.0MB 0ms 0ms clang 14.0.0
haxe 1.hx 4.2ms 0.7ms 3.2MB 0ms 0ms haxe/hl/jit 1.13.0
swift 1.swift 4.3ms 0.8ms 2.4MB 0ms 0ms swift 5.7.1
acton 1.act 5.2ms 3.9ms 3.1MB 0ms 0ms actonc 0.14.2
wasm 1.rs 5.7ms 0.6ms 9.4MB 0ms 0ms wasmtime 3.0.1
wasm 1.rs 6.4ms 0.4ms 15.4MB 0ms 0ms wasmedgec 0.11.2
csharp 1.cs 9.0ms 5.3ms 13.4MB 0ms 0ms dotnet/aot 7.0.100
python 1.py 13ms 1.1ms 8.5MB 10ms 0ms cpython 3.11.1
python 1.py 14ms 2.5ms 7.3MB 10ms 0ms pyston 3.8.12
chapel 1.chpl 15ms 1.5ms 24.4MB 3ms 7ms chpl 1.28.0
javascript 1.js 18ms 1.0ms 52.6MB 3ms 7ms bun 0.3.0
csharp 1.cs 20ms 1.2ms 25.5MB 10ms 0ms mono 6.12.0
typescript 1.ts 25ms 3.9ms 31.2MB 6ms 6ms deno 1.28.3
python 1.py 33ms 0.8ms 52.8MB 14ms 8ms pypy 3.9.15
ruby 1.rb 45ms 3.8ms 155.0MB 24ms 20ms truffleruby 22.3.0
php 1.php 48ms 1.9ms 50.3MB 22ms 8ms php 8.1.13
javascript 1.js 59ms 2.4ms 44.1MB 38ms 8ms node 19.2.0
kotlin 1.kt 69ms 3.3ms 40.9MB 56ms 6ms kotlin/jvm 17.0.2
ruby 1.rb 71ms 1.1ms 29.9MB 52ms 4ms ruby 3.1.3
java 1.java 77ms 6.0ms 61.5MB 65ms 15ms graal/jvm 17.0.5
wasm 1.rs 80ms 2.7ms 43.9MB 92ms 4ms node 16.18.1
csharp 1.cs 80ms 2.8ms 101.5MB 28ms 26ms dotnet 7.0.100
java 1.java 81ms 8.0ms 41.8MB 80ms 8ms openjdk 19
java 1.java 85ms 6.9ms 39.1MB 72ms 18ms openjdk 20
java 1.java 134ms 6.1ms 41.5MB 78ms 60ms openjdk/zgc 19
julia 1.jl 201ms 6.9ms 165.3MB 106ms 104ms julia/aot 1.8.3
julia 1.jl 212ms 1.0ms 173.1MB 124ms 100ms julia 1.8.3
ruby 1.rb 257ms 1.4ms 286.7MB 110ms 136ms ruby/yjit 3.1.3
dart 1.dart 808ms 448ms 12.7MB 0ms 0ms dart/exe 2.18.5