All helloworld problem benchmarks

Current benchmark data was generated on Fri Jul 01 2022, full log can be found HERE

CONTRIBUTIONS are WELCOME!

[x86_64][2 cores] Intel(R) Xeon(R) Platinum 8171M 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
go 1.go 0.9ms 0.0ms 0.0MB 0ms 0ms tinygo 0.23.0
zig 1.zig 1.2ms 0.3ms 0.0MB 0ms 0ms zig 0.10.0-dev.2820+48fd92365
c 1.c 1.5ms 0.2ms 0.6MB 0ms 0ms zigcc 0.10.0-dev.2820+48fd92365
odin 1.odin 1.9ms 0.4ms 0.9MB 0ms 0ms odin 2022
nim 1.nim 2.0ms 0.8ms 0.7MB 0ms 0ms nim 1.6.6
rust 1.rs 2.0ms 0.9ms 0.6MB 0ms 0ms rustc 1.64.0-nightly
rust 1.rs 2.2ms 0.5ms 1.8MB 0ms 0ms rustc 1.62.0
cpp 1.cpp 2.4ms 0.7ms 1.1MB 0ms 0ms clang++ 11.0.0
nim 1.nim 2.5ms 0.6ms 0.9MB 0ms 0ms nim/clang 1.6.6
c 1.c 2.5ms 0.4ms 1.0MB 0ms 0ms gcc 12.1.0
lua 1.lua 2.5ms 0.8ms 2.2MB 0ms 0ms luajit 2.1.0-beta3
d 1.d 2.5ms 0.3ms 3.0MB 0ms 0ms ldc2 1.29.0
v 1.v 2.6ms 0.6ms 2.0MB 0ms 0ms v/clang+gc 0.3.0
swift 1.swift 2.6ms 1.1ms 2.3MB 0ms 0ms swift 5.6.2
v 1.v 2.7ms 1.0ms 2.1MB 0ms 0ms v/clang 0.3.0
haxe 1.hx 2.9ms 0.6ms 2.6MB 0ms 0ms haxe/hl/c 4.2.4
cpp 1.cpp 2.9ms 0.8ms 1.0MB 0ms 0ms g++ 12.1.0
kotlin 1.kt 3.2ms 1.6ms 1.2MB 0ms 0ms kotlin/native 1.7.0
lua 1.lua 3.2ms 0.8ms 1.1MB 0ms 0ms lua 5.4.4
haxe 1.hx 3.3ms 0.7ms 4.4MB 0ms 0ms haxe/cpp 4.2.4
perl 1.pl 3.4ms 0.5ms 5.1MB 0ms 0ms perl 5.36.0
d 1.d 3.4ms 0.7ms 3.9MB 0ms 0ms dmd 2.100.0
ocaml 1.ml 3.7ms 2.4ms 2.5MB 0ms 0ms ocaml 4.14.0
c 1.c 4.0ms 1.8ms 2.2MB 0ms 0ms clang 11.0.0
wasm 1.rs 4.2ms 1.7ms 4.4MB 0ms 0ms wasmer/llvm 2.3.0
go 1.go 4.5ms 2.2ms 2.8MB 0ms 0ms go 1.18.3
crystal 1.cr 4.6ms 1.0ms 2.9MB 0ms 0ms crystal 1.4.1
wasm 1.rs 4.9ms 0.9ms 5.4MB 0ms 0ms wasmedgec 0.10.0
haxe 1.hx 5.1ms 0.9ms 3.4MB 0ms 0ms haxe/hl/jit 1.12.0
wasm 1.rs 7.2ms 1.0ms 10.3MB 0ms 0ms wasmtime 0.38.1
dart 1.dart 8.9ms 1.1ms 13.6MB 0ms 0ms dart/exe 2.17.5
python 1.py 16ms 1.4ms 7.3MB 10ms 0ms pyston 3.8.12
python 1.py 18ms 1.6ms 7.3MB 10ms 0ms cpython 3.10.5
chapel 1.chpl 21ms 2.6ms 32.4MB 2ms 10ms chpl 1.27.0
typescript 1.ts 25ms 1.9ms 32.0MB 10ms 0ms deno 1.23.2
csharp 1.cs 27ms 2.9ms 24.2MB 10ms 2ms mono 6.12.0
python 1.py 42ms 1.3ms 55.1MB 16ms 12ms pypy 3.8.13
ruby 1.rb 55ms 2.2ms 136.6MB 30ms 26ms truffleruby 22.1.0
php 1.php 55ms 3.8ms 48.0MB 26ms 16ms php 8.1.7
csharp 1.cs 56ms 1.7ms 29.0MB 28ms 4ms dotnet 6.0.301
javascript 1.js 66ms 1.6ms 41.4MB 46ms 6ms node 18.4.0
kotlin 1.kt 75ms 8.8ms 40.9MB 64ms 12ms kotlin/jvm 17.0.2
java 1.java 87ms 1.6ms 64.6MB 82ms 20ms graal/jvm 17.0.3
ruby 1.rb 89ms 3.9ms 30.0MB 62ms 12ms ruby 3.1.2
wasm 1.rs 95ms 2.0ms 42.7MB 118ms 0ms node 16.15.1
java 1.java 95ms 1.7ms 40.2MB 86ms 18ms openjdk 19
java 1.java 96ms 5.2ms 37.4MB 80ms 24ms openjdk 18.0.1
java 1.java 152ms 6.3ms 38.3MB 104ms 64ms openjdk/zgc 18.0.1
julia 1.jl 247ms 3.8ms 170.2MB 144ms 110ms julia 1.7.3
elixir 1.ex 283ms 24ms 46.7MB 284ms 54ms elixir 12.3.2
ruby 1.rb 301ms 1.0ms 286.7MB 124ms 160ms ruby/yjit 3.1.2
hacklang 1.hack 933ms 12ms 172.6MB 878ms 42ms hhvm 4.163.0