All helloworld 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.)

helloworld

Input: QwQ

lang code time stddev peak-mem mem time(user) time(sys) compiler compiler/runtime
nim 1.nim 1.2ms 0.1ms 1.0MB 0ms 0ms nim 1.6.14
zig 1.zig 1.6ms 0.6ms 1.0MB 0ms 0ms zig 0.11.0-dev.3978+711b4e93e
go 1.go 1.6ms 0.4ms 0.0MB 0ms 0ms tinygo 0.28.1
cpp 1.cpp 1.7ms 0.4ms 1.4MB 0ms 0ms clang++ 14.0.0
c 1.c 1.8ms 0.5ms 1.4MB 0ms 0ms zigcc 0.11.0-dev.3978+711b4e93e
lua 1.lua 1.9ms 0.2ms 2.3MB 0ms 0ms luajit 2.1.0-beta3
c 1.c 1.9ms 0.8ms 1.3MB 0ms 0ms gcc 13.1.0
haxe 1.hx 1.9ms 0.3ms 3.0MB 0ms 0ms haxe/hl/c 4.2.5
c 1.c 1.9ms 0.5ms 1.4MB 0ms 0ms clang 14.0.0
v 1.v 2.0ms 0.4ms 1.9MB 0ms 0ms v/clang 0.4.0
odin 1.odin 2.0ms 0.7ms 1.2MB 0ms 0ms odin 2023
swift 1.swift 2.0ms 0.6ms 4.7MB 0ms 0ms swift 5.8.1
rust 1.rs 2.1ms 0.4ms 1.9MB 0ms 0ms rustc 1.73.0-nightly
cpp 1.cpp 2.1ms 0.9ms 1.0MB 0ms 0ms g++ 11.3.0
rust 1.rs 2.1ms 0.4ms 2.0MB 0ms 0ms rustc 1.70.0
d 1.d 2.1ms 0.6ms 3.0MB 0ms 0ms ldc2 1.32.2
kotlin 1.kt 2.2ms 0.6ms 1.5MB 0ms 0ms kotlin/native 1.8.21
v 1.v 2.2ms 0.3ms 2.1MB 0ms 0ms v/clang+gc 0.4.0
crystal 1.cr 2.3ms 0.5ms 3.0MB 0ms 0ms crystal 1.9.0
ocaml 1.ml 2.7ms 0.6ms 3.1MB 0ms 0ms ocaml 5.0.0
d 1.d 2.7ms 0.7ms 4.8MB 0ms 0ms dmd 2.104.1
nim 1.nim 2.9ms 2.0ms 1.2MB 0ms 0ms nim/clang 1.6.14
haxe 1.hx 2.9ms 0.9ms 3.2MB 0ms 0ms haxe/cpp 4.2.5
go 1.go 3.0ms 0.2ms 2.9MB 0ms 0ms go 1.20.6
lua 1.lua 3.0ms 2.4ms 1.5MB 0ms 0ms lua 5.4.4
perl 1.pl 3.0ms 0.6ms 4.9MB 0ms 0ms perl 5.38.0
codon 1.py 4.0ms 0.6ms 5.1MB 0ms 0ms codon 0.16.2
haxe 1.hx 4.3ms 0.7ms 3.2MB 0ms 0ms haxe/hl/jit 1.13.0
csharp 1.cs 6.8ms 0.8ms 12.1MB 0ms 0ms dotnet/aot 7.0.306
wasm 1.rs 7.0ms 1.0ms 16.1MB 0ms 0ms wasmtime 10.0.1
dart 1.dart 7.6ms 2.3ms 13.2MB 0ms 0ms dart/exe 3.0.6
acton 1.act 8.6ms 2.5ms 4.3MB 0ms 0ms actonc 0.16.0
wasm 1.rs 9.9ms 0.9ms 28.8MB 0ms 0ms wasmedgec 0.13.1
python 1.py 13ms 0.6ms 7.3MB 10ms 0ms pyston 3.8.12
python 1.py 14ms 1.4ms 8.5MB 10ms 0ms cpython 3.11.4
javascript 1.js 16ms 0.7ms 52.2MB 0ms 10ms bun 0.6.14
chapel 1.chpl 17ms 0.6ms 32.3MB 10ms 0ms chpl 1.31.0
csharp 1.cs 19ms 0.6ms 25.6MB 10ms 0ms mono 6.12.0
python 1.py 30ms 0.7ms 52.1MB 12ms 2ms pypy 3.10.12
typescript 1.ts 33ms 0.9ms 40.0MB 20ms 0ms deno 1.35.1
ruby 1.rb 43ms 2.1ms 157.2MB 16ms 26ms truffleruby 22.3.1
javascript 1.js 44ms 4.7ms 40.9MB 26ms 8ms node 20.4.0
php 1.php 46ms 1.9ms 51.3MB 24ms 8ms php 8.2.8
wasm 1.rs 47ms 2.4ms 47.3MB 32ms 2ms node 18.16.1
csharp 1.cs 59ms 1.9ms 28.8MB 26ms 2ms dotnet 7.0.306
kotlin 1.kt 65ms 4.9ms 40.9MB 50ms 10ms kotlin/jvm 17.0.2
ruby 1.rb 71ms 1.0ms 32.2MB 48ms 10ms ruby/yjit 3.2.2
ruby 1.rb 71ms 0.6ms 32.0MB 50ms 8ms ruby 3.2.2
java 1.java 72ms 3.2ms 61.2MB 70ms 8ms graal/jvm 17.0.7
java 1.java 76ms 1.1ms 41.5MB 76ms 8ms openjdk 22
java 1.java 81ms 4.5ms 39.3MB 78ms 10ms openjdk 20
java 1.java 118ms 5.5ms 38.2MB 74ms 52ms openjdk/zgc 20
julia 1.jl 200ms 0.6ms 216.9MB 112ms 76ms julia/aot 1.9.2