All helloworld problem benchmarks

Current benchmark data was generated on Thu May 04 2023, full log can be found HERE


[x86_64][2 cores] Intel(R) Xeon(R) Platinum 8272CL 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.)


Input: QwQ

lang code time stddev peak-mem mem time(user) time(sys) compiler compiler/runtime
go 1.go 1.4ms 0.6ms 0.0MB 0ms 0ms tinygo 0.27.0
nim 1.nim 1.7ms 0.7ms 1.0MB 0ms 0ms nim 1.6.12
c 1.c 1.7ms 0.7ms 1.3MB 0ms 0ms gcc 13.1.0
zig 1.zig 1.7ms 0.6ms 1.0MB 0ms 0ms zig 0.11.0-dev.2969+855493bb8
c 1.c 1.8ms 0.5ms 1.4MB 0ms 0ms clang 14.0.0
rust 1.8ms 0.5ms 1.0MB 0ms 0ms rustc 1.69.0
rust 1.9ms 0.4ms 1.0MB 0ms 0ms rustc 1.71.0-nightly
nim 1.nim 1.9ms 0.9ms 1.2MB 0ms 0ms nim/clang 1.6.12
lua 1.lua 2.0ms 0.6ms 1.5MB 0ms 0ms lua 5.4.4
cpp 1.cpp 2.2ms 0.6ms 1.4MB 0ms 0ms clang++ 14.0.0
c 1.c 2.2ms 0.4ms 1.0MB 0ms 0ms zigcc 0.11.0-dev.2969+855493bb8
cpp 1.cpp 2.4ms 0.5ms 1.3MB 0ms 0ms g++ 12.2.0
crystal 2.6ms 0.7ms 3.0MB 0ms 0ms crystal 1.8.1
haxe 1.hx 2.6ms 0.5ms 3.2MB 0ms 0ms haxe/cpp 4.2.5
swift 1.swift 2.8ms 1.1ms 2.4MB 0ms 0ms swift 5.8.0
perl 2.8ms 0.2ms 5.0MB 0ms 0ms perl 5.36.1
v 1.v 2.9ms 0.7ms 2.0MB 0ms 0ms v/clang+gc 0.3.4
d 1.d 2.9ms 1.1ms 2.9MB 0ms 0ms ldc2 1.32.1
ocaml 2.9ms 0.5ms 2.7MB 0ms 0ms ocaml 5.0.0
lua 1.lua 2.9ms 1.3ms 2.2MB 0ms 0ms luajit 2.1.0-beta3
go 1.go 2.9ms 0.9ms 2.9MB 0ms 0ms go 1.20.4
v 1.v 3.0ms 1.1ms 2.0MB 0ms 0ms v/clang 0.3.4
d 1.d 3.0ms 0.6ms 4.8MB 0ms 0ms dmd 2.103.1
odin 1.odin 3.2ms 0.7ms 1.7MB 0ms 0ms odin 2023
haxe 1.hx 3.3ms 0.7ms 2.9MB 0ms 0ms haxe/hl/c 4.2.5
kotlin 1.kt 3.6ms 0.8ms 1.5MB 0ms 0ms kotlin/native 1.8.21
haxe 1.hx 4.5ms 1.1ms 2.8MB 0ms 0ms haxe/hl/jit 1.13.0
codon 4.7ms 0.4ms 7.0MB 0ms 0ms codon 0.16.0
acton 1.act 5.1ms 2.3ms 7.6MB 0ms 0ms actonc 0.15.0
dart 1.dart 6.0ms 2.5ms 6.2MB 0ms 0ms dart/exe
csharp 1.cs 6.7ms 1.3ms 10.0MB 0ms 0ms dotnet/aot 7.0.203
wasm 6.7ms 0.8ms 15.5MB 0ms 0ms wasmedgec 0.12.0
dart 1.dart 8.1ms 0.9ms 13.7MB 0ms 0ms dart/exe 2.19.6
wasm 9.7ms 1.3ms 15.7MB 0ms 0ms wasmtime 8.0.1
python 13ms 0.4ms 7.3MB 10ms 0ms pyston 3.8.12
python 15ms 0.9ms 8.4MB 7ms 3ms cpython 3.11.3
chapel 1.chpl 17ms 0.3ms 32.3MB 0ms 10ms chpl 1.30.0
javascript 1.js 19ms 0.8ms 52.7MB 0ms 10ms bun 0.5.9
csharp 1.cs 22ms 0.8ms 26.1MB 8ms 2ms mono 6.12.0
typescript 1.ts 28ms 0.7ms 35.9MB 12ms 4ms deno 1.33.1
python 40ms 2.2ms 52.0MB 14ms 10ms pypy 3.9.16
javascript 1.js 46ms 0.7ms 45.0MB 28ms 8ms node 20.0.0
wasm 50ms 1.9ms 47.3MB 32ms 8ms node 18.16.0
ruby 1.rb 57ms 5.5ms 157.3MB 30ms 34ms truffleruby 22.3.1
php 1.php 57ms 2.1ms 50.9MB 26ms 16ms php 8.2.4
csharp 1.cs 58ms 4.5ms 28.7MB 28ms 4ms dotnet 7.0.203
kotlin 1.kt 68ms 5.4ms 40.9MB 53ms 8ms kotlin/jvm 17.0.2
ruby 1.rb 75ms 0.9ms 32.1MB 44ms 18ms ruby 3.2.2
ruby 1.rb 81ms 4.0ms 32.2MB 50ms 16ms ruby/yjit 3.2.2
java 84ms 7.3ms 60.1MB 66ms 20ms graal/jvm 17.0.7
java 90ms 7.4ms 41.4MB 80ms 18ms openjdk 21
java 92ms 6.2ms 39.2MB 80ms 20ms openjdk 20
java 136ms 5.9ms 38.5MB 72ms 72ms openjdk/zgc 20
julia 1.jl 213ms 10ms 163.0MB 124ms 94ms julia/aot 1.8.5
julia 1.jl 225ms 1.7ms 170.9MB 142ms 98ms julia 1.8.5