All helloworld problem benchmarks

Current benchmark data was generated on Tue Dec 31 2024, full log can be found HERE

CONTRIBUTIONS are WELCOME!

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

helloworld

Input: QwQ

lang code time stddev peak-mem mem time(user) time(sys) compiler compiler/runtime
go 1.go 0.5ms 0.0ms 0.1MB 0ms 0ms tinygo 0.35.0
v 1.v 0.9ms 0.0ms 1.4MB 0ms 0ms v/clang 0.4.9
c 1.c 0.9ms 0.0ms 1.4MB 0ms 0ms zigcc 0.13.0
zig 1.zig 0.9ms 0.0ms 1.3MB 0ms 0ms zig 0.13.0
nim 1.nim 1.0ms 0.0ms 1.6MB 0ms 0ms nim 2.2.0
cpp 1.cpp 1.0ms 0.1ms 1.4MB 0ms 0ms g++ 11.4.0
nim 1.nim 1.1ms 0.1ms 1.8MB 0ms 0ms nim/clang 2.2.0
rust 1.rs 1.2ms 0.1ms 1.8MB 0ms 0ms rustc 1.83.0
c 1.c 1.2ms 0.0ms 2.1MB 0ms 0ms gcc 14.2.0
rust 1.rs 1.2ms 0.1ms 1.8MB 0ms 0ms rustc 1.85.0-nightly
odin 1.odin 1.2ms 0.1ms 1.6MB 0ms 0ms odin 2024
go 1.go 1.3ms 0.1ms 3.4MB 0ms 0ms go 1.23.4
c 1.c 1.3ms 0.2ms 2.1MB 0ms 0ms clang 14.0.0-1ubuntu1.1
v 1.v 1.4ms 0.1ms 1.9MB 0ms 0ms v/clang+gc 0.4.9
lua 1.lua 1.5ms 0.0ms 2.4MB 0ms 0ms luajit 2.1.0-beta3
d 1.d 1.7ms 0.1ms 2.9MB 0ms 0ms ldc2 1.40.0
ocaml 1.ml 1.7ms 0.2ms 4.9MB 0ms 0ms ocaml 5.2.1
cpp 1.cpp 1.8ms 1.0ms 2.1MB 0ms 0ms clang++ 14.0.0-1ubuntu1.1
crystal 1.cr 2.0ms 0.1ms 3.0MB 0ms 0ms crystal 1.14.0
haxe 1.hx 2.1ms 0.1ms 4.8MB 0ms 0ms haxe/hl/c 4.3.6
lua 1.lua 2.2ms 1.0ms 2.1MB 0ms 0ms lua 5.4.7
d 1.d 2.2ms 0.1ms 5.0MB 0ms 0ms dmd 2.109.1
kotlin 1.kt 2.3ms 0.2ms 4.7MB 0ms 0ms kotlin/native 1.8.21
haxe 1.hx 2.4ms 0.2ms 4.3MB 0ms 0ms haxe/cpp 4.3.6
swift 1.swift 2.4ms 0.2ms 6.0MB 0ms 0ms swift 6.0.3
perl 1.pl 2.6ms 0.4ms 5.1MB 0ms 0ms perl 5.40.0
haxe 1.hx 3.5ms 0.5ms 4.8MB 0ms 0ms haxe/hl/jit 1.14.0
dart 1.dart 3.6ms 0.1ms 6.3MB 0ms 0ms dart/exe 3.6.0
acton 1.act 3.6ms 0.3ms 4.1MB 0ms 0ms actonc 0.24.1
codon 1.py 4.0ms 0.7ms 7.1MB 0ms 0ms codon 0.17.0
wasm 1.rs 6.5ms 0.4ms 19.4MB 0ms 0ms wasmtime 28.0.0
python 1.py 11ms 0.8ms 7.6MB 0ms 0ms pyston 3.8.12
javascript 1.js 12ms 0.4ms 32.1MB 10ms 0ms bun 1.1.42
python 1.py 13ms 1.3ms 8.5MB 10ms 0ms cpython 3.13.1
chapel 1.chpl 17ms 1.9ms 32.8MB 10ms 0ms chpl 1.31.0
csharp 1.cs 18ms 11ms 15.5MB 0ms 0ms dotnet/aot 9.0.101
typescript 1.ts 25ms 0.5ms 48.1MB 8ms 2ms deno 2.1.4
python 1.py 26ms 0.9ms 51.0MB 8ms 8ms pypy 3.10.14
javascript 1.js 29ms 1.3ms 51.9MB 14ms 4ms node 23.5.0
csharp 1.cs 30ms 0.2ms 23.4MB 18ms 2ms mono 6.12.0
csharp 1.cs 34ms 1.5ms 32.5MB 18ms 6ms dotnet 9.0.101
ruby 1.rb 38ms 1.4ms 162.3MB 16ms 26ms truffleruby 24.1.1
php 1.php 46ms 1.1ms 52.5MB 14ms 16ms php 8.2.27
ruby 1.rb 48ms 1.5ms 12.9MB 34ms 2ms ruby 3.4.1
ruby 1.rb 50ms 1.0ms 13.1MB 36ms 4ms ruby/yjit 3.4.1
kotlin 1.kt 55ms 4.2ms 47.4MB 46ms 14ms kotlin/jvm 21
java 1.java 61ms 1.3ms 58.6MB 60ms 20ms graal/jvm 17.0.8
java 1.java 69ms 2.9ms 44.7MB 66ms 14ms openjdk 23
java 1.java 69ms 1.0ms 43.8MB 72ms 10ms openjdk 21
java 1.java 174ms 5.3ms 44.5MB 80ms 116ms openjdk/zgc 21