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 5 decimaler (4 körningar, genomsnitt av 3 efter warmup) ===
|
||||
=== Pi-beräkning med 5 decimaler (SNABBTEST - ingen overhead) ===
|
||||
|
||||
Bash [0;32mSUCCESS[0m 27 ms, [0;34m2048000 bytes avg / [1;33m2048000 bytes peak, [1;33m0% CPU avg / 0% CPU peak[0m
|
||||
Brainfuck [0;32mSUCCESS[0m 44 ms, [0;34m9125888 bytes avg / [1;33m9158656 bytes peak, [1;33m0% CPU avg / 0% CPU peak[0m
|
||||
C [0;32mSUCCESS[0m 21 ms, [0;34m1671168 bytes avg / [1;33m1671168 bytes peak, [1;33m0% CPU avg / 0% CPU peak[0m
|
||||
C++ [0;32mSUCCESS[0m 20 ms, [0;34m1490944 bytes avg / [1;33m1490944 bytes peak, [1;33m0% CPU avg / 0% CPU peak[0m
|
||||
Crystal [0;32mSUCCESS[0m 24 ms, [0;34m3244032 bytes avg / [1;33m3244032 bytes peak, [1;33m0% CPU avg / 0% CPU peak[0m
|
||||
CSharp [0;32mSUCCESS[0m 51 ms, [0;34m41385984 bytes avg / [1;33m41418752 bytes peak, [1;33m0% CPU avg / 0% CPU peak[0m
|
||||
D [0;32mSUCCESS[0m 22 ms, [0;34m2457600 bytes avg / [1;33m2457600 bytes peak, [1;33m0% CPU avg / 0% CPU peak[0m
|
||||
Dart [0;32mSUCCESS[0m 27 ms, [0;34m14467072 bytes avg / [1;33m14516224 bytes peak, [1;33m0% CPU avg / 0% CPU peak[0m
|
||||
Elixir [0;32mSUCCESS[0m 303 ms, [0;34m89134421 bytes avg / [1;33m89554944 bytes peak, [1;33m0% CPU avg / 0% CPU peak[0m
|
||||
Erlang [0;32mSUCCESS[0m 131 ms, [0;34m77529088 bytes avg / [1;33m78118912 bytes peak, [1;33m0% CPU avg / 0% CPU peak[0m
|
||||
Fortran [0;32mSUCCESS[0m 20 ms, [0;34m1802240 bytes avg / [1;33m1802240 bytes peak, [1;33m0% CPU avg / 0% CPU peak[0m
|
||||
Go [0;32mSUCCESS[0m 20 ms, [0;34m3877546 bytes avg / [1;33m3915776 bytes peak, [1;33m0% CPU avg / 0% CPU peak[0m
|
||||
Haskell [0;32mSUCCESS[0m 31 ms, [0;34m11894784 bytes avg / [1;33m11894784 bytes peak, [1;33m0% CPU avg / 0% CPU peak[0m
|
||||
Java [0;32mSUCCESS[0m 46 ms, [0;34m42980693 bytes avg / [1;33m42991616 bytes peak, [1;33m0% CPU avg / 0% CPU peak[0m
|
||||
JavaScript [0;32mSUCCESS[0m 78 ms, [0;34m38338560 bytes avg / [1;33m38404096 bytes peak, [1;33m0% CPU avg / 0% CPU peak[0m
|
||||
Julia [0;32mSUCCESS[0m 160 ms, [0;34m235864064 bytes avg / [1;33m235978752 bytes peak, [1;33m0% CPU avg / 0% CPU peak[0m
|
||||
Kotlin [0;32mSUCCESS[0m 59 ms, [0;34m45143381 bytes avg / [1;33m45154304 bytes peak, [1;33m0% CPU avg / 0% CPU peak[0m
|
||||
Objective-C [0;32mSUCCESS[0m 20 ms, [0;34m6029312 bytes avg / [1;33m6029312 bytes peak, [1;33m0% CPU avg / 0% CPU peak[0m
|
||||
Scala [0;32mSUCCESS[0m 386 ms, [0;34m55995050 bytes avg / [1;33m58245120 bytes peak, [1;33m0% CPU avg / 0% CPU peak[0m
|
||||
TypeScript [0;32mSUCCESS[0m 886 ms, [0;34m217841664 bytes avg / [1;33m218775552 bytes peak, [1;33m0% CPU avg / 0% CPU peak[0m
|
||||
Lua [0;32mSUCCESS[0m 20 ms, [0;34m2086229 bytes avg / [1;33m2097152 bytes peak, [1;33m0% CPU avg / 0% CPU peak[0m
|
||||
Nim [0;32mSUCCESS[0m 19 ms, [0;34m1523712 bytes avg / [1;33m1523712 bytes peak, [1;33m0% CPU avg / 0% CPU peak[0m
|
||||
Odin [0;32mSUCCESS[0m 20 ms, [0;34m1611093 bytes avg / [1;33m1622016 bytes peak, [1;33m0% CPU avg / 0% CPU peak[0m
|
||||
Perl [0;32mSUCCESS[0m 43 ms, [0;34m12517376 bytes avg / [1;33m12533760 bytes peak, [1;33m0% CPU avg / 0% CPU peak[0m
|
||||
PHP [0;32mSUCCESS[0m 67 ms, [0;34m26471082 bytes avg / [1;33m26525696 bytes peak, [1;33m0% CPU avg / 0% CPU peak[0m
|
||||
Python [0;32mSUCCESS[0m 53 ms, [0;34m9830400 bytes avg / [1;33m9846784 bytes peak, [1;33m0% CPU avg / 0% CPU peak[0m
|
||||
R [0;32mSUCCESS[0m 170 ms, [0;34m90778282 bytes avg / [1;33m90931200 bytes peak, [1;33m0% CPU avg / 0% CPU peak[0m
|
||||
Ruby [0;32mSUCCESS[0m 79 ms, [0;34m28813994 bytes avg / [1;33m28835840 bytes peak, [1;33m0% CPU avg / 0% CPU peak[0m
|
||||
Rust [0;32mSUCCESS[0m 20 ms, [0;34m1622016 bytes avg / [1;33m1622016 bytes peak, [1;33m0% CPU avg / 0% CPU peak[0m
|
||||
Swift [0;32mSUCCESS[0m 21 ms, [0;34m5947392 bytes avg / [1;33m5947392 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 13 ms
|
||||
Brainfuck [0;32mSUCCESS[0m 29 ms
|
||||
C [0;32mSUCCESS[0m 4 ms
|
||||
C++ [0;32mSUCCESS[0m 4 ms
|
||||
Crystal [0;32mSUCCESS[0m 5 ms
|
||||
CSharp [0;32mSUCCESS[0m 40 ms
|
||||
D [0;32mSUCCESS[0m 8 ms
|
||||
Dart [0;32mSUCCESS[0m 13 ms
|
||||
Elixir [0;32mSUCCESS[0m 286 ms
|
||||
Erlang [0;32mSUCCESS[0m 125 ms
|
||||
Fortran [0;32mSUCCESS[0m 5 ms
|
||||
Go [0;32mSUCCESS[0m 4 ms
|
||||
Haskell [0;32mSUCCESS[0m 19 ms
|
||||
Java [0;32mSUCCESS[0m 35 ms
|
||||
JavaScript [0;32mSUCCESS[0m 64 ms
|
||||
Julia [0;32mSUCCESS[0m 135 ms
|
||||
Kotlin [0;32mSUCCESS[0m 45 ms
|
||||
Lua [0;32mSUCCESS[0m 9 ms
|
||||
Nim [0;32mSUCCESS[0m 4 ms
|
||||
Objective-C [0;32mSUCCESS[0m 5 ms
|
||||
Odin [0;32mSUCCESS[0m 4 ms
|
||||
Perl [0;32mSUCCESS[0m 30 ms
|
||||
PHP [0;32mSUCCESS[0m 57 ms
|
||||
Python [0;32mSUCCESS[0m 37 ms
|
||||
R [0;32mSUCCESS[0m 157 ms
|
||||
Ruby [0;32mSUCCESS[0m 62 ms
|
||||
Rust [0;32mSUCCESS[0m 4 ms
|
||||
Scala [0;32mSUCCESS[0m 355 ms
|
||||
Swift [0;32mSUCCESS[0m 5 ms
|
||||
TypeScript [0;32mSUCCESS[0m 1227 ms
|
||||
Zig [0;32mSUCCESS[0m 9 ms
|
||||
|
||||
=== RESULTAT (sorterat efter tid) ===
|
||||
Språk Tid (ms)
|
||||
-----------------------------------
|
||||
C 4
|
||||
C++ 4
|
||||
Go 4
|
||||
Nim 4
|
||||
Odin 4
|
||||
Rust 4
|
||||
Crystal 5
|
||||
Fortran 5
|
||||
Objective-C 5
|
||||
Swift 5
|
||||
Assembly 6
|
||||
D 8
|
||||
Lua 9
|
||||
Zig 9
|
||||
Bash 13
|
||||
Dart 13
|
||||
Haskell 19
|
||||
Brainfuck 29
|
||||
Perl 30
|
||||
Java 35
|
||||
Python 37
|
||||
CSharp 40
|
||||
Kotlin 45
|
||||
PHP 57
|
||||
Ruby 62
|
||||
JavaScript 64
|
||||
Erlang 125
|
||||
Julia 135
|
||||
R 157
|
||||
Elixir 286
|
||||
Scala 355
|
||||
TypeScript 1227
|
||||
|
||||
=== Klart ===
|
||||
|
||||
Reference in New Issue
Block a user