All V benchmarks

Current benchmark data was generated on Tue Jan 18 2022, full log can be found HERE

CONTRIBUTIONS are WELCOME!

[x86_64][2 cores] Intel(R) Xeon(R) Platinum 8370C CPU @ 2.80GHz

binarytrees

Input: 18

code time stddev peak-mem mem time(user) time(kernel) compiler compiler/runtime
1.v 1762ms 46ms 82.4MB 2177ms 33ms v+gc+clang 0.2.4
1.v 1854ms 14ms 82.4MB 2287ms 37ms v+gc+zig 0.2.4
1.v 2402ms 5.0ms 2086.5MB 1580ms 807ms v+zig 0.2.4
1.v 2409ms 7.8ms 2086.3MB 1530ms 860ms v+clang 0.2.4

Input: 14

code time stddev peak-mem mem time(user) time(kernel) compiler compiler/runtime
1.v 74ms 0.7ms 7.0MB 73ms 3ms v+gc+clang 0.2.4
1.v 76ms 0.1ms 7.1MB 77ms 3ms v+gc+zig 0.2.4
1.v 112ms 1.2ms 99.3MB 60ms 37ms v+clang 0.2.4
1.v 117ms 0.7ms 99.5MB 67ms 37ms v+zig 0.2.4

coro-prime-sieve

Input: 1000

code time stddev peak-mem mem time(user) time(kernel) compiler compiler/runtime
1.v 2044ms 114ms 20.5MB 1550ms 2133ms v+gc+zig 0.2.4
1.v 2074ms 151ms 17.8MB 1573ms 2133ms v+clang 0.2.4
1.v 2177ms 526ms 20.4MB 1783ms 2180ms v+gc+clang 0.2.4
1.v 3086ms 743ms 17.8MB 2463ms 3157ms v+zig 0.2.4

fannkuch-redux

Input: 11

code time stddev peak-mem mem time(user) time(kernel) compiler compiler/runtime
1.v 3444ms 1.7ms 2.0MB 3430ms 0ms v+gc+clang 0.2.4
1.v 3467ms 1.8ms 1.9MB 3457ms 0ms v+gc+zig 0.2.4
1.v 3467ms 21ms 0.6MB 3457ms 0ms v+clang 0.2.4
1.v 3540ms 2.1ms 0.6MB 3530ms 0ms v+zig 0.2.4

Input: 10

code time stddev peak-mem mem time(user) time(kernel) compiler compiler/runtime
1.v 286ms 3.6ms 0.6MB 277ms 0ms v+clang 0.2.4
1.v 286ms 0.2ms 2.0MB 277ms 0ms v+gc+clang 0.2.4
1.v 288ms 1.6ms 2.0MB 280ms 0ms v+gc+zig 0.2.4
1.v 294ms 1.4ms 0.6MB 280ms 0ms v+zig 0.2.4

fasta

Input: 2500000

code time stddev peak-mem mem time(user) time(kernel) compiler compiler/runtime
1.v 2420ms 119ms 2.2MB 580ms 793ms v+gc+clang 0.2.4
1.v 2697ms 32ms 0.6MB 680ms 783ms v+clang 0.2.4
1.v 2815ms 291ms 0.6MB 660ms 870ms v+zig 0.2.4
1.v 2816ms 626ms 2.2MB 590ms 783ms v+gc+zig 0.2.4

Input: 250000

code time stddev peak-mem mem time(user) time(kernel) compiler compiler/runtime
1.v 231ms 51ms 2.2MB 63ms 60ms v+gc+clang 0.2.4
1.v 296ms 9.9ms 0.6MB 60ms 80ms v+zig 0.2.4
1.v 367ms 79ms 2.2MB 60ms 67ms v+gc+zig 0.2.4
1.v 493ms 24ms 0.6MB 63ms 63ms v+clang 0.2.4

helloworld

Input: QwQ

code time stddev peak-mem mem time(user) time(kernel) compiler compiler/runtime
1.v 2.0ms 0.8ms 0.6MB 0ms 0ms v+clang 0.2.4
1.v 2.2ms 0.9ms 2.2MB 0ms 0ms v+gc+zig 0.2.4
1.v 2.2ms 0.6ms 0.6MB 0ms 0ms v+zig 0.2.4
1.v 2.3ms 1.0ms 2.0MB 0ms 0ms v+gc+clang 0.2.4

nbody

Input: 5000000

code time stddev peak-mem mem time(user) time(kernel) compiler compiler/runtime
1.v 1066ms 1.4ms 4.0MB 1053ms 0ms v+gc+zig 0.2.4
1.v 1112ms 0.5ms 0.6MB 1100ms 0ms v+zig 0.2.4
1.v 1330ms 3.2ms 0.9MB 1320ms 0ms v+clang 0.2.4
1.v 1336ms 0.3ms 4.3MB 1327ms 0ms v+gc+clang 0.2.4

Input: 500000

code time stddev peak-mem mem time(user) time(kernel) compiler compiler/runtime
1.v 109ms 0.6ms 2.0MB 100ms 0ms v+gc+zig 0.2.4
1.v 113ms 0.6ms 0.6MB 107ms 0ms v+zig 0.2.4
1.v 134ms 0.7ms 0.9MB 127ms 0ms v+clang 0.2.4
1.v 136ms 0.3ms 2.3MB 130ms 0ms v+gc+clang 0.2.4

Input: 100000

code time stddev peak-mem mem time(user) time(kernel) compiler compiler/runtime
1.v 24ms 0.7ms 0.6MB 13ms 0ms v+zig 0.2.4
1.v 24ms 0.9ms 2.0MB 17ms 0ms v+gc+zig 0.2.4
1.v 29ms 1.1ms 0.8MB 20ms 0ms v+clang 0.2.4
1.v 30ms 1.5ms 2.3MB 20ms 0ms v+gc+clang 0.2.4

nsieve

Input: 12

code time stddev peak-mem mem time(user) time(kernel) compiler compiler/runtime
2.v 499ms 3.0ms 12.0MB 490ms 0ms v+gc+zig 0.2.4
2.v 511ms 0.3ms 12.0MB 493ms 0ms v+gc+clang 0.2.4
1.v 682ms 26ms 40.2MB 653ms 13ms v+clang 0.2.4
1.v 901ms 94ms 72.0MB 883ms 17ms v+gc+clang 0.2.4
1.v 1007ms 52ms 70.6MB 987ms 17ms v+gc+zig 0.2.4
1.v 1055ms 110ms 40.3MB 1033ms 10ms v+zig 0.2.4

Input: 10

code time stddev peak-mem mem time(user) time(kernel) compiler compiler/runtime
2.v 115ms 1.1ms 5.3MB 110ms 0ms v+gc+zig 0.2.4
2.v 116ms 0.8ms 4.3MB 107ms 0ms v+gc+clang 0.2.4
1.v 123ms 1.0ms 11.0MB 110ms 0ms v+clang 0.2.4
1.v 125ms 6.3ms 20.8MB 113ms 0ms v+gc+clang 0.2.4
1.v 171ms 5.7ms 11.1MB 160ms 0ms v+zig 0.2.4
1.v 172ms 2.8ms 21.5MB 160ms 0ms v+gc+zig 0.2.4

spectral-norm

Input: 8000

code time stddev peak-mem mem time(user) time(kernel) compiler compiler/runtime
1.v 4120ms 0.8ms 2.5MB 4110ms 0ms v+gc+zig 0.2.4
1.v 4121ms 1.7ms 1.6MB 4110ms 0ms v+zig 0.2.4

Input: 4000

code time stddev peak-mem mem time(user) time(kernel) compiler compiler/runtime
1.v 1031ms 0.5ms 0.6MB 1020ms 0ms v+zig 0.2.4
1.v 1032ms 0.8ms 2.3MB 1023ms 0ms v+gc+zig 0.2.4
1.v 1624ms 1.4ms 0.8MB 1610ms 0ms v+clang 0.2.4
1.v 1625ms 1.0ms 4.5MB 1613ms 0ms v+gc+clang 0.2.4

Input: 1000

code time stddev peak-mem mem time(user) time(kernel) compiler compiler/runtime
1.v 67ms 0.9ms 0.6MB 60ms 0ms v+zig 0.2.4
1.v 69ms 2.8ms 2.2MB 60ms 0ms v+gc+zig 0.2.4
1.v 103ms 0.8ms 0.8MB 90ms 0ms v+clang 0.2.4
1.v 104ms 0.8ms 2.6MB 93ms 0ms v+gc+clang 0.2.4

mandelbrot

Input: 8000

code time stddev peak-mem mem time(user) time(kernel) compiler compiler/runtime
1.v 1275ms 1.1ms 9.8MB 1260ms 0ms v+gc+zig 0.2.4
1.v 1356ms 0.3ms 9.8MB 1340ms 0ms v+gc+clang 0.2.4

Input: 1000

code time stddev peak-mem mem time(user) time(kernel) compiler compiler/runtime
1.v 23ms 0.6ms 2.2MB 13ms 0ms v+gc+zig 0.2.4
1.v 24ms 0.4ms 2.3MB 17ms 0ms v+gc+clang 0.2.4

pidigits

Input: 4000

code time stddev peak-mem mem time(user) time(kernel) compiler compiler/runtime
2.v 3223ms 6.8ms 3.4MB 3297ms 140ms v+gc+zig 0.2.4
2.v 3224ms 19ms 3.7MB 3303ms 137ms v+gc+clang 0.2.4

Input: 1000

code time stddev peak-mem mem time(user) time(kernel) compiler compiler/runtime
2.v 178ms 1.2ms 3.1MB 173ms 3ms v+gc+clang 0.2.4
2.v 182ms 7.2ms 2.8MB 173ms 0ms v+gc+zig 0.2.4