All helloworld problem benchmarks

Current benchmark data was generated on Tue Mar 25 2025, 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.9ms 0.1ms 0.4MB 0ms 0ms tinygo 0.37.0
zig 1.zig 1.0ms 0.0ms 1.1MB 0ms 0ms zig 0.14.0
c 1.c 1.0ms 0.0ms 1.4MB 0ms 0ms zigcc 0.14.0
nim 1.nim 1.1ms 0.0ms 1.4MB 0ms 0ms nim 2.2.2
cpp 1.cpp 1.1ms 0.1ms 1.4MB 0ms 0ms g++ 11.4.0
nim 1.nim 1.2ms 0.1ms 1.8MB 0ms 0ms nim/clang 2.2.2
odin 1.odin 1.2ms 0.0ms 1.6MB 0ms 0ms odin 2024
v 1.v 1.2ms 0.3ms 1.4MB 0ms 0ms v/clang 0.4.10
rust 1.rs 1.2ms 0.1ms 1.8MB 0ms 0ms rustc 1.85.1
c 1.c 1.2ms 0.1ms 2.1MB 0ms 0ms gcc 14.2.0
go 1.go 1.3ms 0.7ms 3.4MB 0ms 0ms go 1.24.1
c 1.c 1.3ms 0.1ms 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.10
rust 1.rs 1.4ms 0.2ms 1.9MB 0ms 0ms rustc 1.87.0-nightly
cpp 1.cpp 1.5ms 0.1ms 2.3MB 0ms 0ms clang++ 14.0.0-1ubuntu1.1
lua 1.lua 1.5ms 0.2ms 2.1MB 0ms 0ms lua 5.4.7
lua 1.lua 1.5ms 0.1ms 2.4MB 0ms 0ms luajit 2.1.0-beta3
d 1.d 1.6ms 0.1ms 3.0MB 0ms 0ms ldc2 1.40.1
ocaml 1.ml 1.9ms 0.2ms 5.1MB 0ms 0ms ocaml 5.3.0
haxe 1.hx 2.0ms 0.3ms 2.9MB 0ms 0ms haxe/hl/c 4.3.6
crystal 1.cr 2.0ms 0.5ms 2.8MB 0ms 0ms crystal 1.15.1
d 1.d 2.2ms 0.3ms 5.0MB 0ms 0ms dmd 2.110.0
kotlin 1.kt 2.2ms 0.4ms 2.6MB 0ms 0ms kotlin/native 1.8.21
swift 1.swift 2.5ms 0.2ms 5.9MB 0ms 0ms swift 6.0.3
haxe 1.hx 2.5ms 0.2ms 4.5MB 0ms 0ms haxe/cpp 4.3.6
perl 1.pl 2.8ms 0.4ms 5.3MB 0ms 0ms perl 5.40.1
acton 1.act 3.6ms 0.3ms 3.9MB 0ms 0ms actonc 0.24.1
haxe 1.hx 3.6ms 0.3ms 2.9MB 0ms 0ms haxe/hl/jit 1.15.0
dart 1.dart 4.0ms 0.1ms 5.5MB 0ms 0ms dart/exe 3.7.2
wasm 1.rs 7.0ms 0.7ms 17.4MB 0ms 0ms wasmtime 31.0.0
csharp 1.cs 8.7ms 2.7ms 9.4MB 0ms 0ms dotnet/aot 9.0.202
chapel 1.chpl 11ms 0.5ms 28.8MB 0ms 0ms chpl 1.31.0
codon 1-m.py 11ms 0.7ms 8.6MB 20ms 0ms codon 0.18.2
python 1.py 12ms 0.8ms 7.6MB 0ms 0ms pyston 3.8.12
javascript 1.js 13ms 0.4ms 32.9MB 0ms 0ms bun 1.2.6
python 1.py 14ms 1.2ms 8.6MB 10ms 0ms cpython 3.13.2
typescript 1.ts 28ms 0.8ms 45.9MB 10ms 8ms deno 2.2.5
python 1.py 30ms 1.2ms 51.4MB 10ms 10ms pypy 3.10.16
javascript 1.js 32ms 0.2ms 48.1MB 18ms 4ms node 23.10.0
csharp 1.cs 32ms 0.6ms 21.6MB 20ms 0ms mono 6.12.0
csharp 1.cs 36ms 1.2ms 26.1MB 20ms 6ms dotnet 9.0.202
ruby 1.rb 38ms 1.6ms 142.2MB 14ms 28ms truffleruby 24.2.0
php 1.php 51ms 0.8ms 52.7MB 22ms 18ms php 8.2.28
ruby 1.rb 52ms 1.2ms 12.9MB 38ms 4ms ruby 3.4.2
ruby 1.rb 54ms 2.1ms 13.0MB 40ms 2ms ruby/yjit 3.4.2
kotlin 1.kt 59ms 4.0ms 47.2MB 56ms 16ms kotlin/jvm 21
java 1.java 63ms 2.8ms 52.7MB 70ms 16ms graal/jvm 17.0.8
java 1.java 65ms 2.6ms 43.7MB 74ms 16ms openjdk 21
java 1.java 69ms 4.7ms 44.7MB 72ms 16ms openjdk 23
java 1.java 199ms 6.8ms 42.9MB 84ms 138ms openjdk/zgc 21