All helloworld problem benchmarks

Current benchmark data was generated on Sun Dec 01 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.7ms 0.3ms 0.1MB 0ms 0ms tinygo 0.34.0
c 1.c 1.0ms 0.0ms 1.4MB 0ms 0ms zigcc 0.13.0
zig 1.zig 1.1ms 0.1ms 1.3MB 0ms 0ms zig 0.13.0
cpp 1.cpp 1.1ms 0.1ms 1.4MB 0ms 0ms g++ 11.4.0
v 1.v 1.1ms 0.1ms 1.3MB 0ms 0ms v/clang 0.4.8
nim 1.nim 1.2ms 0.0ms 1.8MB 0ms 0ms nim/clang 2.2.0
nim 1.nim 1.2ms 0.2ms 1.6MB 0ms 0ms nim 2.2.0
odin 1.odin 1.2ms 0.0ms 1.6MB 0ms 0ms odin 2024
rust 1.rs 1.3ms 0.0ms 1.8MB 0ms 0ms rustc 1.83.0
rust 1.rs 1.3ms 0.0ms 1.8MB 0ms 0ms rustc 1.85.0-nightly
c 1.c 1.3ms 0.1ms 2.1MB 0ms 0ms gcc 14.2.0
c 1.c 1.3ms 0.1ms 2.1MB 0ms 0ms clang 14.0.0-1ubuntu1.1
d 1.d 1.4ms 0.8ms 3.0MB 0ms 0ms ldc2 1.39.0
lua 1.lua 1.5ms 0.2ms 2.4MB 0ms 0ms luajit 2.1.0-beta3
lua 1.lua 1.5ms 0.1ms 2.1MB 0ms 0ms lua 5.4.7
go 1.go 1.5ms 0.1ms 3.4MB 0ms 0ms go 1.23.3
cpp 1.cpp 1.5ms 0.2ms 2.3MB 0ms 0ms clang++ 14.0.0-1ubuntu1.1
v 1.v 1.6ms 0.3ms 1.9MB 0ms 0ms v/clang+gc 0.4.8
ocaml 1.ml 1.8ms 0.2ms 4.9MB 0ms 0ms ocaml 5.2.1
crystal 1.cr 2.1ms 0.2ms 3.0MB 0ms 0ms crystal 1.14.0
haxe 1.hx 2.2ms 0.3ms 4.7MB 0ms 0ms haxe/hl/c 4.3.6
d 1.d 2.2ms 0.4ms 5.0MB 0ms 0ms dmd 2.109.1
haxe 1.hx 2.3ms 0.2ms 4.4MB 0ms 0ms haxe/cpp 4.3.6
kotlin 1.kt 2.4ms 0.2ms 4.7MB 0ms 0ms kotlin/native 1.8.21
swift 1.swift 2.7ms 0.3ms 6.3MB 0ms 0ms swift 6.0.2
perl 1.pl 2.9ms 0.4ms 5.1MB 0ms 0ms perl 5.40.0
dart 1.dart 4.1ms 0.2ms 6.1MB 0ms 0ms dart/exe 3.5.4
haxe 1.hx 4.1ms 0.3ms 4.7MB 0ms 0ms haxe/hl/jit 1.14.0
acton 1.act 4.2ms 0.4ms 4.0MB 0ms 0ms actonc 0.24.1
codon 1.py 4.2ms 0.5ms 6.9MB 0ms 0ms codon 0.17.0
wasm 1.rs 7.4ms 0.3ms 21.1MB 0ms 0ms wasmtime 27.0.0
csharp 1.cs 9.1ms 5.1ms 13.5MB 0ms 0ms dotnet/aot 9.0.100
wasm 1.rs 12ms 0.4ms 38.6MB 0ms 0ms wasmer/llvm 5.0.2
python 1.py 12ms 1.2ms 7.6MB 5ms 5ms pyston 3.8.12
javascript 1.js 12ms 0.4ms 31.8MB 0ms 10ms bun 1.1.38
python 1.py 15ms 0.3ms 8.5MB 10ms 0ms cpython 3.13.0
chapel 1.chpl 16ms 0.7ms 32.8MB 7ms 3ms chpl 1.31.0
typescript 1.ts 29ms 0.8ms 50.0MB 10ms 8ms deno 2.1.2
python 1.py 29ms 1.5ms 51.0MB 4ms 12ms pypy 3.10.14
javascript 1.js 31ms 0.3ms 51.9MB 16ms 4ms node 23.3.0
csharp 1.cs 32ms 0.8ms 23.7MB 20ms 0ms mono 6.12.0
csharp 1.cs 37ms 0.4ms 32.6MB 20ms 4ms dotnet 9.0.100
ruby 1.rb 41ms 0.8ms 168.5MB 20ms 26ms truffleruby 24.1.1
php 1.php 52ms 1.3ms 52.5MB 16ms 22ms php 8.2.26
kotlin 1.kt 58ms 4.7ms 47.4MB 56ms 16ms kotlin/jvm 21
java 1.java 68ms 3.0ms 59.0MB 70ms 20ms graal/jvm 17.0.8
ruby 1.rb 69ms 1.8ms 28.0MB 48ms 12ms ruby 3.3.6
ruby 1.rb 70ms 0.6ms 28.1MB 42ms 14ms ruby/yjit 3.3.6
java 1.java 73ms 4.6ms 44.8MB 74ms 22ms openjdk 23
java 1.java 77ms 1.6ms 43.8MB 76ms 20ms openjdk 21
java 1.java 187ms 4.1ms 44.6MB 82ms 128ms openjdk/zgc 21