Measure the startup overhead of different programming languages
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

Add C, D, Pony

iacore 7f2e1163 7bb6ec38

+20 -9
+9 -1
run-all
··· 3 3 nasm -f elf64 true.s 4 4 ld -o true-s true.o 5 5 6 + gcc -O3 -o true-c true.c 7 + 6 8 zig build-exe -femit-bin=true-zig -O ReleaseFast true.zig 7 9 8 10 hare build -o true-hare -F -R true.ha ··· 16 18 17 19 rustc -O -o true-rust true.rs 18 20 19 - hyperfine --export-markdown timings.md -N 'true' './true-s' './true-zig' './true-hare' './true-go' './true-lean' './true-haskell' './true-rust' 21 + dmd -O -of=true-d true.d 22 + 23 + ponyc -b true-pony . 24 + 25 + hyperfine --export-markdown timings.md -N 'true' './true-s' './true-c' './true-zig' './true-hare' './true-go' './true-lean' './true-haskell' './true-rust' './true-d' './true-pony' 26 + 27 + # hyperfine --export-markdown timings.md -N './true-s' './true-zig' './true-hare' './true-d'
+2 -8
timings.md
··· 1 1 | Command | Mean [µs] | Min [µs] | Max [µs] | Relative | 2 2 |:---|---:|---:|---:|---:| 3 - | `true` | 272.9 ± 24.8 | 238.2 | 596.4 | 3.33 ± 0.76 | 4 - | `./true-s` | 81.9 ± 17.3 | 70.0 | 842.5 | 1.00 | 5 - | `./true-zig` | 87.9 ± 17.6 | 74.7 | 921.4 | 1.07 ± 0.31 | 6 - | `./true-hare` | 94.1 ± 16.3 | 81.8 | 688.2 | 1.15 ± 0.31 | 7 - | `./true-go` | 571.8 ± 34.0 | 485.5 | 944.4 | 6.98 ± 1.53 | 8 - | `./true-lean` | 1746.8 ± 1517.1 | 1534.0 | 20122.6 | 21.33 ± 19.07 | 9 - | `./true-haskell` | 675.2 ± 31.0 | 625.6 | 1206.2 | 8.25 ± 1.78 | 10 - | `./true-rust` | 390.8 ± 30.1 | 342.0 | 663.1 | 4.77 ± 1.07 | 3 + | `true` | 271.6 ± 33.3 | 236.5 | 2069.0 | 3.41 ± 0.75 | 4 + | `./true-s` | 79.7 ± 14.5 | 70.7 | 462.8 | 1.00 |
+3
true.c
··· 1 + int main() { 2 + return 0; 3 + }
+3
true.d
··· 1 + int main() { 2 + return 0; 3 + }
+3
true.pony
··· 1 + actor Main 2 + new create(env: Env) => None 3 +