Implement two-step measurement method: run_fast.sh for accurate timing without overhead, remove Vimscript and Wolfram, run all tests
This commit is contained in:
+71
-34
@@ -1,35 +1,72 @@
|
||||
=== Pi-beräkning med 1000 decimaler (4 körningar, genomsnitt av 3 efter warmup) ===
|
||||
=== Pi-beräkning med 1000 decimaler (SNABBTEST - ingen overhead) ===
|
||||
|
||||
Bash [0;32mSUCCESS[0m 48 ms, [0;34m2058922 bytes avg / [1;33m2064384 bytes peak, [1;33m0% CPU avg / 0% CPU peak[0m
|
||||
Brainfuck [0;32mSUCCESS[0m 47 ms, [0;34m9273344 bytes avg / [1;33m9355264 bytes peak, [1;33m0% CPU avg / 0% CPU peak[0m
|
||||
C [0;32mSUCCESS[0m 20 ms, [0;34m1736704 bytes avg / [1;33m1736704 bytes peak, [1;33m0% CPU avg / 0% CPU peak[0m
|
||||
C++ [0;32mSUCCESS[0m 22 ms, [0;34m1714858 bytes avg / [1;33m1736704 bytes peak, [1;33m0% CPU avg / 0% CPU peak[0m
|
||||
Crystal [0;32mSUCCESS[0m 24 ms, [0;34m4265301 bytes avg / [1;33m4276224 bytes peak, [1;33m0% CPU avg / 0% CPU peak[0m
|
||||
CSharp [0;32mSUCCESS[0m 57 ms, [0;34m41533440 bytes avg / [1;33m41566208 bytes peak, [1;33m0% CPU avg / 0% CPU peak[0m
|
||||
D [0;32mSUCCESS[0m 21 ms, [0;34m3517098 bytes avg / [1;33m3538944 bytes peak, [1;33m0% CPU avg / 0% CPU peak[0m
|
||||
Dart [0;32mSUCCESS[0m 25 ms, [0;34m16935594 bytes avg / [1;33m16990208 bytes peak, [1;33m0% CPU avg / 0% CPU peak[0m
|
||||
Elixir [0;32mSUCCESS[0m 299 ms, [0;34m89221802 bytes avg / [1;33m89718784 bytes peak, [1;33m0% CPU avg / 0% CPU peak[0m
|
||||
Erlang [0;32mSUCCESS[0m 137 ms, [0;34m77911381 bytes avg / [1;33m78413824 bytes peak, [1;33m0% CPU avg / 0% CPU peak[0m
|
||||
Fortran [0;32mSUCCESS[0m 31 ms, [0;34m1851392 bytes avg / [1;33m1851392 bytes peak, [1;33m0% CPU avg / 0% CPU peak[0m
|
||||
Go [0;32mSUCCESS[0m 20 ms, [0;34m4248917 bytes avg / [1;33m4292608 bytes peak, [1;33m0% CPU avg / 0% CPU peak[0m
|
||||
Haskell [0;32mSUCCESS[0m 31 ms, [0;34m12096853 bytes avg / [1;33m12107776 bytes peak, [1;33m0% CPU avg / 0% CPU peak[0m
|
||||
Java [0;32mSUCCESS[0m 51 ms, [0;34m45765973 bytes avg / [1;33m45826048 bytes peak, [1;33m0% CPU avg / 0% CPU peak[0m
|
||||
JavaScript [0;32mSUCCESS[0m 212 ms, [0;34m51014314 bytes avg / [1;33m52117504 bytes peak, [1;33m0% CPU avg / 0% CPU peak[0m
|
||||
Julia [0;32mSUCCESS[0m 153 ms, [0;34m235945984 bytes avg / [1;33m236093440 bytes peak, [1;33m0% CPU avg / 0% CPU peak[0m
|
||||
Kotlin [0;32mSUCCESS[0m 64 ms, [0;34m46918314 bytes avg / [1;33m47104000 bytes peak, [1;33m0% CPU avg / 0% CPU peak[0m
|
||||
Objective-C [0;32mSUCCESS[0m 20 ms, [0;34m6111232 bytes avg / [1;33m6111232 bytes peak, [1;33m0% CPU avg / 0% CPU peak[0m
|
||||
Scala [0;32mSUCCESS[0m 372 ms, [0;34m56661333 bytes avg / [1;33m56786944 bytes peak, [1;33m0% CPU avg / 0% CPU peak[0m
|
||||
TypeScript [0;32mSUCCESS[0m 990 ms, [0;34m225329152 bytes avg / [1;33m225411072 bytes peak, [1;33m0% CPU avg / 0% CPU peak[0m
|
||||
Lua [0;32mSUCCESS[0m 43 ms, [0;34m2250069 bytes avg / [1;33m2260992 bytes peak, [1;33m0% CPU avg / 0% CPU peak[0m
|
||||
Nim [0;32mSUCCESS[0m 21 ms, [0;34m1982464 bytes avg / [1;33m1982464 bytes peak, [1;33m0% CPU avg / 0% CPU peak[0m
|
||||
Odin [0;32mSUCCESS[0m 22 ms, [0;34m4041386 bytes avg / [1;33m4063232 bytes peak, [1;33m0% CPU avg / 0% CPU peak[0m
|
||||
Perl [0;32mSUCCESS[0m 92 ms, [0;34m12653909 bytes avg / [1;33m12730368 bytes peak, [1;33m0% CPU avg / 0% CPU peak[0m
|
||||
PHP [0;32mSUCCESS[0m 73 ms, [0;34m26514773 bytes avg / [1;33m26591232 bytes peak, [1;33m0% CPU avg / 0% CPU peak[0m
|
||||
Python [0;32mSUCCESS[0m 48 ms, [0;34m9704789 bytes avg / [1;33m9797632 bytes peak, [1;33m0% CPU avg / 0% CPU peak[0m
|
||||
R [0;32mSUCCESS[0m 177 ms, [0;34m92394837 bytes avg / [1;33m92520448 bytes peak, [1;33m0% CPU avg / 0% CPU peak[0m
|
||||
Ruby [0;32mSUCCESS[0m 72 ms, [0;34m29485738 bytes avg / [1;33m29507584 bytes peak, [1;33m0% CPU avg / 0% CPU peak[0m
|
||||
Rust [0;32mSUCCESS[0m 21 ms, [0;34m1884160 bytes avg / [1;33m1900544 bytes peak, [1;33m0% CPU avg / 0% CPU peak[0m
|
||||
Swift [0;32mSUCCESS[0m 92 ms, [0;34m6340608 bytes avg / [1;33m6340608 bytes peak, [1;33m0% CPU avg / 0% CPU peak[0m
|
||||
Zig [0;32mSUCCESS[0m 21 ms, [0;34m2981888 bytes avg / [1;33m2981888 bytes peak, [1;33m0% CPU avg / 0% CPU peak[0m
|
||||
Assembly [0;32mSUCCESS[0m 20 ms, [0;34m1409024 bytes avg / [1;33m1409024 bytes peak, [1;33m0% CPU avg / 0% CPU peak[0m
|
||||
Wolfram
|
||||
Assembly [0;32mSUCCESS[0m 6 ms
|
||||
Bash [0;32mSUCCESS[0m 23 ms
|
||||
Brainfuck [0;32mSUCCESS[0m 31 ms
|
||||
C [0;32mSUCCESS[0m 4 ms
|
||||
C++ [0;32mSUCCESS[0m 7 ms
|
||||
Crystal [0;32mSUCCESS[0m 7 ms
|
||||
CSharp [0;32mSUCCESS[0m 38 ms
|
||||
D [0;32mSUCCESS[0m 8 ms
|
||||
Dart [0;32mSUCCESS[0m 15 ms
|
||||
Elixir [0;32mSUCCESS[0m 283 ms
|
||||
Erlang [0;32mSUCCESS[0m 119 ms
|
||||
Fortran [0;32mSUCCESS[0m 14 ms
|
||||
Go [0;32mSUCCESS[0m 5 ms
|
||||
Haskell [0;32mSUCCESS[0m 19 ms
|
||||
Java [0;32mSUCCESS[0m 39 ms
|
||||
JavaScript [0;32mSUCCESS[0m 209 ms
|
||||
Julia [0;32mSUCCESS[0m 128 ms
|
||||
Kotlin [0;32mSUCCESS[0m 48 ms
|
||||
Lua [0;32mSUCCESS[0m 29 ms
|
||||
Nim [0;32mSUCCESS[0m 9 ms
|
||||
Objective-C [0;32mSUCCESS[0m 9 ms
|
||||
Odin [0;32mSUCCESS[0m 9 ms
|
||||
Perl [0;32mSUCCESS[0m 82 ms
|
||||
PHP [0;32mSUCCESS[0m 54 ms
|
||||
Python [0;32mSUCCESS[0m 35 ms
|
||||
R [0;32mSUCCESS[0m 161 ms
|
||||
Ruby [0;32mSUCCESS[0m 61 ms
|
||||
Rust [0;32mSUCCESS[0m 5 ms
|
||||
Scala [0;32mSUCCESS[0m 330 ms
|
||||
Swift [0;32mSUCCESS[0m 76 ms
|
||||
TypeScript [0;32mSUCCESS[0m 1173 ms
|
||||
Zig [0;32mSUCCESS[0m 11 ms
|
||||
|
||||
=== RESULTAT (sorterat efter tid) ===
|
||||
Språk Tid (ms)
|
||||
-----------------------------------
|
||||
C 4
|
||||
Go 5
|
||||
Rust 5
|
||||
Assembly 6
|
||||
C++ 7
|
||||
Crystal 7
|
||||
D 8
|
||||
Nim 9
|
||||
Objective-C 9
|
||||
Odin 9
|
||||
Zig 11
|
||||
Fortran 14
|
||||
Dart 15
|
||||
Haskell 19
|
||||
Bash 23
|
||||
Lua 29
|
||||
Brainfuck 31
|
||||
Python 35
|
||||
CSharp 38
|
||||
Java 39
|
||||
Kotlin 48
|
||||
PHP 54
|
||||
Ruby 61
|
||||
Swift 76
|
||||
Perl 82
|
||||
Erlang 119
|
||||
Julia 128
|
||||
R 161
|
||||
JavaScript 209
|
||||
Elixir 283
|
||||
Scala 330
|
||||
TypeScript 1173
|
||||
|
||||
=== Klart ===
|
||||
|
||||
Reference in New Issue
Block a user