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 2 decimaler (4 körningar, genomsnitt av 3 efter warmup) ===
|
||||
=== Pi-beräkning med 2 decimaler (SNABBTEST - ingen overhead) ===
|
||||
|
||||
Bash [0;32mSUCCESS[0m 25 ms, [0;34m2053461 bytes avg / [1;33m2064384 bytes peak, [1;33m0% CPU avg / 0% CPU peak[0m
|
||||
Brainfuck [0;32mSUCCESS[0m 52 ms, [0;34m9207808 bytes avg / [1;33m9371648 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 21 ms, [0;34m1490944 bytes avg / [1;33m1490944 bytes peak, [1;33m0% CPU avg / 0% CPU peak[0m
|
||||
Crystal [0;32mSUCCESS[0m 23 ms, [0;34m3249493 bytes avg / [1;33m3260416 bytes peak, [1;33m0% CPU avg / 0% CPU peak[0m
|
||||
CSharp [0;32mSUCCESS[0m 63 ms, [0;34m41451520 bytes avg / [1;33m41467904 bytes peak, [1;33m0% CPU avg / 0% CPU peak[0m
|
||||
D [0;32mSUCCESS[0m 26 ms, [0;34m2463061 bytes avg / [1;33m2490368 bytes peak, [1;33m0% CPU avg / 0% CPU peak[0m
|
||||
Dart [0;32mSUCCESS[0m 66 ms, [0;34m14532608 bytes avg / [1;33m14548992 bytes peak, [1;33m0% CPU avg / 0% CPU peak[0m
|
||||
Elixir [0;32mSUCCESS[0m 379 ms, [0;34m89369258 bytes avg / [1;33m89604096 bytes peak, [1;33m0% CPU avg / 0% CPU peak[0m
|
||||
Erlang [0;32mSUCCESS[0m 157 ms, [0;34m77425322 bytes avg / [1;33m77824000 bytes peak, [1;33m0% CPU avg / 0% CPU peak[0m
|
||||
Fortran [0;32mSUCCESS[0m 23 ms, [0;34m1802240 bytes avg / [1;33m1802240 bytes peak, [1;33m0% CPU avg / 0% CPU peak[0m
|
||||
Go [0;32mSUCCESS[0m 30 ms, [0;34m3964928 bytes avg / [1;33m3997696 bytes peak, [1;33m0% CPU avg / 0% CPU peak[0m
|
||||
Haskell [0;32mSUCCESS[0m 33 ms, [0;34m11900245 bytes avg / [1;33m11911168 bytes peak, [1;33m0% CPU avg / 0% CPU peak[0m
|
||||
Java [0;32mSUCCESS[0m 53 ms, [0;34m43018922 bytes avg / [1;33m43057152 bytes peak, [1;33m0% CPU avg / 0% CPU peak[0m
|
||||
JavaScript [0;32mSUCCESS[0m 73 ms, [0;34m38496938 bytes avg / [1;33m38633472 bytes peak, [1;33m0% CPU avg / 0% CPU peak[0m
|
||||
Julia [0;32mSUCCESS[0m 155 ms, [0;34m235924138 bytes avg / [1;33m236126208 bytes peak, [1;33m0% CPU avg / 0% CPU peak[0m
|
||||
Kotlin [0;32mSUCCESS[0m 63 ms, [0;34m45197994 bytes avg / [1;33m45383680 bytes peak, [1;33m0% CPU avg / 0% CPU peak[0m
|
||||
Objective-C [0;32mSUCCESS[0m 21 ms, [0;34m6034773 bytes avg / [1;33m6045696 bytes peak, [1;33m0% CPU avg / 0% CPU peak[0m
|
||||
Scala [0;32mSUCCESS[0m 352 ms, [0;34m55345152 bytes avg / [1;33m55476224 bytes peak, [1;33m0% CPU avg / 0% CPU peak[0m
|
||||
TypeScript [0;32mSUCCESS[0m 904 ms, [0;34m217716053 bytes avg / [1;33m218136576 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 21 ms, [0;34m1523712 bytes avg / [1;33m1523712 bytes peak, [1;33m0% CPU avg / 0% CPU peak[0m
|
||||
Odin [0;32mSUCCESS[0m 23 ms, [0;34m1605632 bytes avg / [1;33m1605632 bytes peak, [1;33m0% CPU avg / 0% CPU peak[0m
|
||||
Perl [0;32mSUCCESS[0m 46 ms, [0;34m12528298 bytes avg / [1;33m12533760 bytes peak, [1;33m0% CPU avg / 0% CPU peak[0m
|
||||
PHP [0;32mSUCCESS[0m 70 ms, [0;34m26492928 bytes avg / [1;33m26525696 bytes peak, [1;33m0% CPU avg / 0% CPU peak[0m
|
||||
Python [0;32mSUCCESS[0m 46 ms, [0;34m9710250 bytes avg / [1;33m9797632 bytes peak, [1;33m0% CPU avg / 0% CPU peak[0m
|
||||
R [0;32mSUCCESS[0m 168 ms, [0;34m90860202 bytes avg / [1;33m90947584 bytes peak, [1;33m0% CPU avg / 0% CPU peak[0m
|
||||
Ruby [0;32mSUCCESS[0m 80 ms, [0;34m28868608 bytes avg / [1;33m28917760 bytes peak, [1;33m0% CPU avg / 0% CPU peak[0m
|
||||
Rust [0;32mSUCCESS[0m 21 ms, [0;34m1622016 bytes avg / [1;33m1622016 bytes peak, [1;33m0% CPU avg / 0% CPU peak[0m
|
||||
Swift [0;32mSUCCESS[0m 21 ms, [0;34m5958314 bytes avg / [1;33m5980160 bytes peak, [1;33m0% CPU avg / 0% CPU peak[0m
|
||||
Zig [0;32mSUCCESS[0m 22 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 13 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 38 ms
|
||||
D [0;32mSUCCESS[0m 8 ms
|
||||
Dart [0;32mSUCCESS[0m 14 ms
|
||||
Elixir [0;32mSUCCESS[0m 271 ms
|
||||
Erlang [0;32mSUCCESS[0m 119 ms
|
||||
Fortran [0;32mSUCCESS[0m 5 ms
|
||||
Go [0;32mSUCCESS[0m 4 ms
|
||||
Haskell [0;32mSUCCESS[0m 20 ms
|
||||
Java [0;32mSUCCESS[0m 34 ms
|
||||
JavaScript [0;32mSUCCESS[0m 62 ms
|
||||
Julia [0;32mSUCCESS[0m 141 ms
|
||||
Kotlin [0;32mSUCCESS[0m 43 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 55 ms
|
||||
Python [0;32mSUCCESS[0m 33 ms
|
||||
R [0;32mSUCCESS[0m 152 ms
|
||||
Ruby [0;32mSUCCESS[0m 59 ms
|
||||
Rust [0;32mSUCCESS[0m 4 ms
|
||||
Scala [0;32mSUCCESS[0m 404 ms
|
||||
Swift [0;32mSUCCESS[0m 5 ms
|
||||
TypeScript [0;32mSUCCESS[0m 1057 ms
|
||||
Zig [0;32mSUCCESS[0m 10 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 8
|
||||
Lua 9
|
||||
Zig 10
|
||||
Bash 13
|
||||
Dart 14
|
||||
Haskell 20
|
||||
Brainfuck 28
|
||||
Perl 29
|
||||
Python 33
|
||||
Java 34
|
||||
CSharp 38
|
||||
Kotlin 43
|
||||
PHP 55
|
||||
Ruby 59
|
||||
JavaScript 62
|
||||
Erlang 119
|
||||
Julia 141
|
||||
R 152
|
||||
Elixir 271
|
||||
Scala 404
|
||||
TypeScript 1057
|
||||
|
||||
=== Klart ===
|
||||
|
||||
Reference in New Issue
Block a user