All helloworld problem benchmarks

Current benchmark data was generated on Thu Feb 01 2024, full log can be found HERE


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


Input: QwQ

lang code time stddev peak-mem mem time(user) time(sys) compiler compiler/runtime
go 1.go 0.6ms 0.1ms 0.1MB 0ms 0ms tinygo 0.30.0
zig 1.zig 1.0ms 0.0ms 1.3MB 0ms 0ms zig 0.12.0-dev.2341+92211135f
cpp 1.cpp 1.0ms 0.0ms 1.4MB 0ms 0ms g++ 11.4.0
nim 1.nim 1.0ms 0.1ms 1.6MB 0ms 0ms nim 2.0.2
v 1.v 1.0ms 0.0ms 1.4MB 0ms 0ms v/clang 0.4.4
c 1.c 1.1ms 0.1ms 1.4MB 0ms 0ms zigcc 0.12.0-dev.2341+92211135f
odin 1.odin 1.1ms 0.1ms 1.9MB 0ms 0ms odin 2024
nim 1.nim 1.2ms 0.1ms 1.9MB 0ms 0ms nim/clang 2.0.2
rust 1.2ms 0.1ms 1.9MB 0ms 0ms rustc 1.75.0
rust 1.3ms 0.1ms 1.9MB 0ms 0ms rustc 1.77.0-nightly
c 1.c 1.3ms 0.1ms 2.1MB 0ms 0ms gcc 13.2.0
cpp 1.cpp 1.4ms 0.1ms 2.3MB 0ms 0ms clang++ 14.0.0-1ubuntu1.1
v 1.v 1.4ms 0.1ms 1.9MB 0ms 0ms v/clang+gc 0.4.4
lua 1.lua 1.5ms 0.1ms 2.1MB 0ms 0ms lua 5.4.6
c 1.c 1.5ms 0.3ms 2.1MB 0ms 0ms clang 14.0.0-1ubuntu1.1
go 1.go 1.5ms 0.1ms 3.1MB 0ms 0ms go 1.21.6
lua 1.lua 1.5ms 0.1ms 2.4MB 0ms 0ms luajit 2.1.0-beta3
ocaml 1.7ms 0.1ms 3.0MB 0ms 0ms ocaml 5.1.1
d 1.d 1.7ms 0.1ms 3.0MB 0ms 0ms ldc2 1.36.0
haxe 1.hx 2.2ms 0.2ms 5.0MB 0ms 0ms haxe/hl/c 4.3.3
crystal 2.2ms 0.2ms 3.1MB 0ms 0ms crystal 1.11.2
d 1.d 2.2ms 0.1ms 4.9MB 0ms 0ms dmd 2.106.1
kotlin 1.kt 2.3ms 0.1ms 4.7MB 0ms 0ms kotlin/native 1.8.21
haxe 1.hx 2.5ms 0.2ms 5.1MB 0ms 0ms haxe/cpp 4.3.3
perl 2.7ms 0.2ms 5.3MB 0ms 0ms perl 5.38.2
swift 1.swift 3.0ms 0.2ms 7.6MB 0ms 0ms swift 5.9.2
haxe 1.hx 3.9ms 0.3ms 5.0MB 0ms 0ms haxe/hl/jit 1.14.0
acton 1.act 4.2ms 0.4ms 6.4MB 0ms 0ms actonc 0.19.2
dart 1.dart 4.2ms 0.3ms 6.3MB 0ms 0ms dart/exe 3.2.6
codon 4.5ms 0.8ms 7.2MB 0ms 0ms codon 0.16.3
wasm 6.8ms 0.2ms 19.0MB 0ms 0ms wasmtime 17.0.0
csharp 1.cs 12ms 11ms 16.2MB 0ms 0ms dotnet/aot 8.0.101
python 12ms 0.9ms 7.6MB 0ms 0ms pyston 3.8.12
python 14ms 1.3ms 9.0MB 0ms 0ms cpython 3.12.1
javascript 1.js 14ms 0.3ms 65.6MB 0ms 10ms bun 1.0.25
chapel 1.chpl 16ms 0.2ms 32.8MB 10ms 0ms chpl 1.31.0
typescript 1.ts 27ms 0.7ms 51.1MB 8ms 4ms deno 1.40.2
python 30ms 1.2ms 48.6MB 8ms 8ms pypy 3.10.13
csharp 1.cs 32ms 0.5ms 23.8MB 18ms 2ms mono 6.12.0
javascript 1.js 34ms 0.8ms 44.0MB 16ms 6ms node 21.6.1
wasm 37ms 0.7ms 48.6MB 24ms 4ms node 18.19.0
ruby 1.rb 41ms 0.2ms 161.9MB 8ms 32ms truffleruby 23.1.2
php 1.php 52ms 1.8ms 52.0MB 14ms 24ms php 8.2.14
csharp 1.cs 56ms 6.0ms 31.4MB 20ms 2ms dotnet 8.0.101
kotlin 1.kt 58ms 4.5ms 47.3MB 58ms 14ms kotlin/jvm 21
java 66ms 3.1ms 54.7MB 64ms 24ms graal/jvm 17.0.8
ruby 1.rb 70ms 2.0ms 28.3MB 46ms 12ms ruby 3.3.0
ruby 1.rb 72ms 1.8ms 28.4MB 46ms 16ms ruby/yjit 3.3.0
java 73ms 1.9ms 43.8MB 74ms 14ms openjdk 21
java 73ms 2.7ms 43.9MB 80ms 14ms openjdk 23
java 189ms 6.4ms 42.6MB 84ms 132ms openjdk/zgc 21