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 10 decimaler (4 körningar, genomsnitt av 3 efter warmup) ===
|
||||
=== Pi-beräkning med 10 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;34m9109504 bytes avg / [1;33m9125888 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;34m1507328 bytes avg / [1;33m1507328 bytes peak, [1;33m0% CPU avg / 0% CPU peak[0m
|
||||
Crystal [0;32mSUCCESS[0m 21 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 25 ms, [0;34m14483456 bytes avg / [1;33m14516224 bytes peak, [1;33m0% CPU avg / 0% CPU peak[0m
|
||||
Elixir [0;32mSUCCESS[0m 307 ms, [0;34m89210880 bytes avg / [1;33m89391104 bytes peak, [1;33m0% CPU avg / 0% CPU peak[0m
|
||||
Erlang [0;32mSUCCESS[0m 158 ms, [0;34m77485397 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;34m3822933 bytes avg / [1;33m3883008 bytes peak, [1;33m0% CPU avg / 0% CPU peak[0m
|
||||
Haskell [0;32mSUCCESS[0m 31 ms, [0;34m11993088 bytes avg / [1;33m11993088 bytes peak, [1;33m0% CPU avg / 0% CPU peak[0m
|
||||
Java [0;32mSUCCESS[0m 46 ms, [0;34m43029845 bytes avg / [1;33m43073536 bytes peak, [1;33m0% CPU avg / 0% CPU peak[0m
|
||||
JavaScript [0;32mSUCCESS[0m 84 ms, [0;34m44340565 bytes avg / [1;33m44400640 bytes peak, [1;33m0% CPU avg / 0% CPU peak[0m
|
||||
Julia [0;32mSUCCESS[0m 156 ms, [0;34m235984213 bytes avg / [1;33m236175360 bytes peak, [1;33m0% CPU avg / 0% CPU peak[0m
|
||||
Kotlin [0;32mSUCCESS[0m 59 ms, [0;34m45187072 bytes avg / [1;33m45268992 bytes peak, [1;33m0% CPU avg / 0% CPU peak[0m
|
||||
Objective-C [0;32mSUCCESS[0m 21 ms, [0;34m6045696 bytes avg / [1;33m6045696 bytes peak, [1;33m0% CPU avg / 0% CPU peak[0m
|
||||
Scala [0;32mSUCCESS[0m 351 ms, [0;34m55274154 bytes avg / [1;33m55443456 bytes peak, [1;33m0% CPU avg / 0% CPU peak[0m
|
||||
TypeScript [0;32mSUCCESS[0m 878 ms, [0;34m218234880 bytes avg / [1;33m218562560 bytes peak, [1;33m0% CPU avg / 0% CPU peak[0m
|
||||
Lua [0;32mSUCCESS[0m 21 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;34m1627477 bytes avg / [1;33m1638400 bytes peak, [1;33m0% CPU avg / 0% CPU peak[0m
|
||||
Perl [0;32mSUCCESS[0m 45 ms, [0;34m12550144 bytes avg / [1;33m12582912 bytes peak, [1;33m0% CPU avg / 0% CPU peak[0m
|
||||
PHP [0;32mSUCCESS[0m 69 ms, [0;34m26482005 bytes avg / [1;33m26558464 bytes peak, [1;33m0% CPU avg / 0% CPU peak[0m
|
||||
Python [0;32mSUCCESS[0m 45 ms, [0;34m9693866 bytes avg / [1;33m9797632 bytes peak, [1;33m0% CPU avg / 0% CPU peak[0m
|
||||
R [0;32mSUCCESS[0m 163 ms, [0;34m90882048 bytes avg / [1;33m90914816 bytes peak, [1;33m0% CPU avg / 0% CPU peak[0m
|
||||
Ruby [0;32mSUCCESS[0m 77 ms, [0;34m28830378 bytes avg / [1;33m28901376 bytes peak, [1;33m0% CPU avg / 0% CPU peak[0m
|
||||
Rust [0;32mSUCCESS[0m 20 ms, [0;34m1638400 bytes avg / [1;33m1638400 bytes peak, [1;33m0% CPU avg / 0% CPU peak[0m
|
||||
Swift [0;32mSUCCESS[0m 20 ms, [0;34m5958314 bytes avg / [1;33m5980160 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 5 ms
|
||||
Bash [0;32mSUCCESS[0m 11 ms
|
||||
Brainfuck [0;32mSUCCESS[0m 28 ms
|
||||
C [0;32mSUCCESS[0m 4 ms
|
||||
C++ [0;32mSUCCESS[0m 4 ms
|
||||
Crystal [0;32mSUCCESS[0m 5 ms
|
||||
CSharp [0;32mSUCCESS[0m 43 ms
|
||||
D [0;32mSUCCESS[0m 7 ms
|
||||
Dart [0;32mSUCCESS[0m 12 ms
|
||||
Elixir [0;32mSUCCESS[0m 268 ms
|
||||
Erlang [0;32mSUCCESS[0m 117 ms
|
||||
Fortran [0;32mSUCCESS[0m 5 ms
|
||||
Go [0;32mSUCCESS[0m 4 ms
|
||||
Haskell [0;32mSUCCESS[0m 20 ms
|
||||
Java [0;32mSUCCESS[0m 33 ms
|
||||
JavaScript [0;32mSUCCESS[0m 67 ms
|
||||
Julia [0;32mSUCCESS[0m 126 ms
|
||||
Kotlin [0;32mSUCCESS[0m 42 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 29 ms
|
||||
PHP [0;32mSUCCESS[0m 52 ms
|
||||
Python [0;32mSUCCESS[0m 32 ms
|
||||
R [0;32mSUCCESS[0m 149 ms
|
||||
Ruby [0;32mSUCCESS[0m 59 ms
|
||||
Rust [0;32mSUCCESS[0m 4 ms
|
||||
Scala [0;32mSUCCESS[0m 331 ms
|
||||
Swift [0;32mSUCCESS[0m 5 ms
|
||||
TypeScript [0;32mSUCCESS[0m 1076 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
|
||||
Assembly 5
|
||||
Crystal 5
|
||||
Fortran 5
|
||||
Objective-C 5
|
||||
Swift 5
|
||||
D 7
|
||||
Lua 9
|
||||
Zig 9
|
||||
Bash 11
|
||||
Dart 12
|
||||
Haskell 20
|
||||
Brainfuck 28
|
||||
Perl 29
|
||||
Python 32
|
||||
Java 33
|
||||
Kotlin 42
|
||||
CSharp 43
|
||||
PHP 52
|
||||
Ruby 59
|
||||
JavaScript 67
|
||||
Erlang 117
|
||||
Julia 126
|
||||
R 149
|
||||
Elixir 268
|
||||
Scala 331
|
||||
TypeScript 1076
|
||||
|
||||
=== Klart ===
|
||||
|
||||
Reference in New Issue
Block a user