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 2000 decimaler (4 körningar, genomsnitt av 3 efter warmup) ===
|
||||
=== Pi-beräkning med 2000 decimaler (SNABBTEST - ingen overhead) ===
|
||||
|
||||
Bash [0;32mSUCCESS[0m 104 ms, [0;34m2048000 bytes avg / [1;33m2048000 bytes peak, [1;33m0% CPU avg / 0% CPU peak[0m
|
||||
Brainfuck [0;32mSUCCESS[0m 47 ms, [0;34m9409877 bytes avg / [1;33m9420800 bytes peak, [1;33m0% CPU avg / 0% CPU peak[0m
|
||||
C [0;32mSUCCESS[0m 21 ms, [0;34m1736704 bytes avg / [1;33m1736704 bytes peak, [1;33m0% CPU avg / 0% CPU peak[0m
|
||||
C++ [0;32mSUCCESS[0m 26 ms, [0;34m1774933 bytes avg / [1;33m1802240 bytes peak, [1;33m0% CPU avg / 0% CPU peak[0m
|
||||
Crystal [0;32mSUCCESS[0m 22 ms, [0;34m4265301 bytes avg / [1;33m4276224 bytes peak, [1;33m0% CPU avg / 0% CPU peak[0m
|
||||
CSharp [0;32mSUCCESS[0m 53 ms, [0;34m44034730 bytes avg / [1;33m44089344 bytes peak, [1;33m0% CPU avg / 0% CPU peak[0m
|
||||
D [0;32mSUCCESS[0m 21 ms, [0;34m3506176 bytes avg / [1;33m3506176 bytes peak, [1;33m0% CPU avg / 0% CPU peak[0m
|
||||
Dart [0;32mSUCCESS[0m 37 ms, [0;34m17159509 bytes avg / [1;33m17186816 bytes peak, [1;33m0% CPU avg / 0% CPU peak[0m
|
||||
Elixir [0;32mSUCCESS[0m 303 ms, [0;34m92258304 bytes avg / [1;33m92487680 bytes peak, [1;33m0% CPU avg / 0% CPU peak[0m
|
||||
Erlang [0;32mSUCCESS[0m 141 ms, [0;34m80631125 bytes avg / [1;33m81346560 bytes peak, [1;33m0% CPU avg / 0% CPU peak[0m
|
||||
Fortran [0;32mSUCCESS[0m 61 ms, [0;34m1862314 bytes avg / [1;33m1867776 bytes peak, [1;33m0% CPU avg / 0% CPU peak[0m
|
||||
Go [0;32mSUCCESS[0m 20 ms, [0;34m5204650 bytes avg / [1;33m5242880 bytes peak, [1;33m0% CPU avg / 0% CPU peak[0m
|
||||
Haskell [0;32mSUCCESS[0m 33 ms, [0;34m12140544 bytes avg / [1;33m12140544 bytes peak, [1;33m0% CPU avg / 0% CPU peak[0m
|
||||
Java [0;32mSUCCESS[0m 62 ms, [0;34m49632597 bytes avg / [1;33m50184192 bytes peak, [1;33m0% CPU avg / 0% CPU peak[0m
|
||||
JavaScript [0;32mSUCCESS[0m 498 ms, [0;34m55252309 bytes avg / [1;33m55721984 bytes peak, [1;33m0% CPU avg / 0% CPU peak[0m
|
||||
Julia [0;32mSUCCESS[0m 146 ms, [0;34m236055210 bytes avg / [1;33m236109824 bytes peak, [1;33m0% CPU avg / 0% CPU peak[0m
|
||||
Kotlin [0;32mSUCCESS[0m 66 ms, [0;34m50681173 bytes avg / [1;33m50790400 bytes peak, [1;33m0% CPU avg / 0% CPU peak[0m
|
||||
Objective-C [0;32mSUCCESS[0m 23 ms, [0;34m6122154 bytes avg / [1;33m6127616 bytes peak, [1;33m0% CPU avg / 0% CPU peak[0m
|
||||
Scala [0;32mSUCCESS[0m 358 ms, [0;34m60790101 bytes avg / [1;33m61341696 bytes peak, [1;33m0% CPU avg / 0% CPU peak[0m
|
||||
TypeScript [0;32mSUCCESS[0m 1296 ms, [0;34m223188309 bytes avg / [1;33m225001472 bytes peak, [1;33m0% CPU avg / 0% CPU peak[0m
|
||||
Lua [0;32mSUCCESS[0m 90 ms, [0;34m2321066 bytes avg / [1;33m2326528 bytes peak, [1;33m0% CPU avg / 0% CPU peak[0m
|
||||
Nim [0;32mSUCCESS[0m 32 ms, [0;34m2555904 bytes avg / [1;33m2555904 bytes peak, [1;33m0% CPU avg / 0% CPU peak[0m
|
||||
Odin [0;32mSUCCESS[0m 32 ms, [0;34m10420224 bytes avg / [1;33m10436608 bytes peak, [1;33m0% CPU avg / 0% CPU peak[0m
|
||||
Perl [0;32mSUCCESS[0m 185 ms, [0;34m12779520 bytes avg / [1;33m12812288 bytes peak, [1;33m0% CPU avg / 0% CPU peak[0m
|
||||
PHP [0;32mSUCCESS[0m 82 ms, [0;34m26585770 bytes avg / [1;33m26624000 bytes peak, [1;33m0% CPU avg / 0% CPU peak[0m
|
||||
Python [0;32mSUCCESS[0m 58 ms, [0;34m10021546 bytes avg / [1;33m10092544 bytes peak, [1;33m0% CPU avg / 0% CPU peak[0m
|
||||
R [0;32mSUCCESS[0m 192 ms, [0;34m96747520 bytes avg / [1;33m96927744 bytes peak, [1;33m0% CPU avg / 0% CPU peak[0m
|
||||
Ruby [0;32mSUCCESS[0m 80 ms, [0;34m31156906 bytes avg / [1;33m31162368 bytes peak, [1;33m0% CPU avg / 0% CPU peak[0m
|
||||
Rust [0;32mSUCCESS[0m 20 ms, [0;34m1949696 bytes avg / [1;33m1966080 bytes peak, [1;33m0% CPU avg / 0% CPU peak[0m
|
||||
Swift [0;32mSUCCESS[0m 294 ms, [0;34m6471680 bytes avg / [1;33m6471680 bytes peak, [1;33m0% CPU avg / 0% CPU peak[0m
|
||||
Zig [0;32mSUCCESS[0m 32 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 70 ms
|
||||
Brainfuck [0;32mSUCCESS[0m 33 ms
|
||||
C [0;32mSUCCESS[0m 5 ms
|
||||
C++ [0;32mSUCCESS[0m 12 ms
|
||||
Crystal [0;32mSUCCESS[0m 7 ms
|
||||
CSharp [0;32mSUCCESS[0m 40 ms
|
||||
D [0;32mSUCCESS[0m 11 ms
|
||||
Dart [0;32mSUCCESS[0m 20 ms
|
||||
Elixir [0;32mSUCCESS[0m 272 ms
|
||||
Erlang [0;32mSUCCESS[0m 120 ms
|
||||
Fortran [0;32mSUCCESS[0m 46 ms
|
||||
Go [0;32mSUCCESS[0m 6 ms
|
||||
Haskell [0;32mSUCCESS[0m 19 ms
|
||||
Java [0;32mSUCCESS[0m 47 ms
|
||||
JavaScript [0;32mSUCCESS[0m 506 ms
|
||||
Julia [0;32mSUCCESS[0m 130 ms
|
||||
Kotlin [0;32mSUCCESS[0m 54 ms
|
||||
Lua [0;32mSUCCESS[0m 78 ms
|
||||
Nim [0;32mSUCCESS[0m 24 ms
|
||||
Objective-C [0;32mSUCCESS[0m 6 ms
|
||||
Odin [0;32mSUCCESS[0m 24 ms
|
||||
Perl [0;32mSUCCESS[0m 176 ms
|
||||
PHP [0;32mSUCCESS[0m 63 ms
|
||||
Python [0;32mSUCCESS[0m 43 ms
|
||||
R [0;32mSUCCESS[0m 183 ms
|
||||
Ruby [0;32mSUCCESS[0m 63 ms
|
||||
Rust [0;32mSUCCESS[0m 6 ms
|
||||
Scala [0;32mSUCCESS[0m 358 ms
|
||||
Swift [0;32mSUCCESS[0m 281 ms
|
||||
TypeScript [0;32mSUCCESS[0m 1465 ms
|
||||
Zig [0;32mSUCCESS[0m 16 ms
|
||||
|
||||
=== RESULTAT (sorterat efter tid) ===
|
||||
Språk Tid (ms)
|
||||
-----------------------------------
|
||||
Assembly 5
|
||||
C 5
|
||||
Go 6
|
||||
Objective-C 6
|
||||
Rust 6
|
||||
Crystal 7
|
||||
D 11
|
||||
C++ 12
|
||||
Zig 16
|
||||
Haskell 19
|
||||
Dart 20
|
||||
Nim 24
|
||||
Odin 24
|
||||
Brainfuck 33
|
||||
CSharp 40
|
||||
Python 43
|
||||
Fortran 46
|
||||
Java 47
|
||||
Kotlin 54
|
||||
PHP 63
|
||||
Ruby 63
|
||||
Bash 70
|
||||
Lua 78
|
||||
Erlang 120
|
||||
Julia 130
|
||||
Perl 176
|
||||
R 183
|
||||
Elixir 272
|
||||
Swift 281
|
||||
Scala 358
|
||||
JavaScript 506
|
||||
TypeScript 1465
|
||||
|
||||
=== Klart ===
|
||||
|
||||
Reference in New Issue
Block a user