a2e13a70a1
- Added instructions, cycles, and IPC metrics to all reports - Created CSV data files for each language with detailed metrics - Added timeline data (memory and CPU over time) for each run - Updated all reports with new metrics - Created analysis script to analyze collected data - Generated reports for all decimal levels (1, 2, 5, 10, 100, 1000, 2000) Key findings: - D has highest IPC (4.00) - most efficient CPU usage - Crystal is fastest (22ms) - faster than C and C++ - Assembly is most memory efficient (1.4MB) - Rust and Fortran have IPC 3.11 - good optimization
131 lines
7.8 KiB
Plaintext
131 lines
7.8 KiB
Plaintext
=== Pi-beräkning med 100 decimaler (4 körningar, genomsnitt av 3 efter warmup) ===
|
|
|
|
Bash [0;32mSUCCESS[0m 34 ms, [0;34m2058922 bytes avg / [1;33m2064384 bytes peak, [1;33m0% CPU avg / 0% CPU peak[0m
|
|
Real: .013s, User: 0s, Sys: .006s
|
|
Instructions: 18550685, Cycles: 8090090, IPC: 2.29
|
|
Data saved to: data/Bash/
|
|
Brainfuck [0;32mSUCCESS[0m 56 ms, [0;34m9185962 bytes avg / [1;33m9256960 bytes peak, [1;33m0% CPU avg / 0% CPU peak[0m
|
|
Real: .033s, User: .010s, Sys: .010s
|
|
Instructions: 17501272, Cycles: 8126562, IPC: 2.15
|
|
Data saved to: data/Brainfuck/
|
|
C [0;32mSUCCESS[0m 27 ms, [0;34m1687552 bytes avg / [1;33m1687552 bytes peak, [1;33m0% CPU avg / 0% CPU peak[0m
|
|
Real: 0s, User: 0s, Sys: 0s
|
|
Instructions: 14479010, Cycles: 6499773, IPC: 2.22
|
|
Data saved to: data/C/
|
|
C++ [0;32mSUCCESS[0m 26 ms, [0;34m1523712 bytes avg / [1;33m1523712 bytes peak, [1;33m0% CPU avg / 0% CPU peak[0m
|
|
Real: 0s, User: 0s, Sys: 0s
|
|
Instructions: 23545731, Cycles: 9050444, IPC: 2.60
|
|
Data saved to: data/C++/
|
|
Crystal [0;32mSUCCESS[0m 22 ms, [0;34m3293184 bytes avg / [1;33m3293184 bytes peak, [1;33m0% CPU avg / 0% CPU peak[0m
|
|
Real: 0s, User: 0s, Sys: 0s
|
|
Instructions: 29546282, Cycles: 9885445, IPC: 2.98
|
|
Data saved to: data/Crystal/
|
|
CSharp [0;32mSUCCESS[0m 64 ms, [0;34m41462442 bytes avg / [1;33m41566208 bytes peak, [1;33m0% CPU avg / 0% CPU peak[0m
|
|
Real: .036s, User: .020s, Sys: .010s
|
|
Instructions: 17452260, Cycles: 8624146, IPC: 2.02
|
|
Data saved to: data/CSharp/
|
|
D [0;32mSUCCESS[0m 24 ms, [0;34m2479445 bytes avg / [1;33m2490368 bytes peak, [1;33m0% CPU avg / 0% CPU peak[0m
|
|
Real: 0s, User: 0s, Sys: 0s
|
|
Instructions: 80920081, Cycles: 20218601, IPC: 4.00
|
|
Data saved to: data/D/
|
|
Dart [0;32mSUCCESS[0m 35 ms, [0;34m14641834 bytes avg / [1;33m14680064 bytes peak, [1;33m0% CPU avg / 0% CPU peak[0m
|
|
Real: .013s, User: 0s, Sys: 0s
|
|
Instructions: 63451402, Cycles: 27183385, IPC: 2.33
|
|
Data saved to: data/Dart/
|
|
Elixir [0[0;32mSUCCESS[0m 406 ms, [0;34m89161728 bytes avg / [1;33m89260032 bytes peak, [1;33m0% CPU avg / 0% CPU peak[0m
|
|
Real: .393s, User: .296s, Sys: .216s
|
|
Instructions: 17505478, Cycles: 7380020, IPC: 2.37
|
|
Data saved to: data/Elixir/
|
|
Erlang [0;32mSUCCESS[0m 185 ms, [0;34m77048490 bytes avg / [1;33m77185024 bytes peak, [1;33m0% CPU avg / 0% CPU peak[0m
|
|
Real: .166s, User: .120s, Sys: .100s
|
|
Instructions: 17696158, Cycles: 7782102, IPC: 2.27
|
|
Data saved to: data/Erlang/
|
|
Fortran [0;32mSUCCESS[0m 26 ms, [0;34m1802240 bytes avg / [1;33m1802240 bytes peak, [1;33m0% CPU avg / 0% CPU peak[0m
|
|
Real: 0s, User: 0s, Sys: 0s
|
|
Instructions: 27378187, Cycles: 8787318, IPC: 3.11
|
|
Data saved to: data/Fortran/
|
|
Go [0;32mSUCCESS[0m 31 ms, [0;34m4041386 bytes avg / [1;33m4145152 bytes peak, [1;33m0% CPU avg / 0% CPU peak[0m
|
|
Real: 0s, User: 0s, Sys: 0s
|
|
Instructions: 19473738, Cycles: 8671903, IPC: 2.24
|
|
Data saved to: data/Go/
|
|
Haskell [0;32mSUCCESS[0m 46 ms, [0;34m12053162 bytes avg / [1;33m12058624 bytes peak, [1;33m0% CPU avg / 0% CPU peak[0m
|
|
Real: .013s, User: 0s, Sys: 0s
|
|
Instructions: 49928755, Cycles: 18118511, IPC: 2.75
|
|
Data saved to: data/Haskell/
|
|
Java [0;32mSUCCESS[0m 68 ms, [0;34m43073536 bytes avg / [1;33m43106304 bytes peak, [1;33m0% CPU avg / 0% CPU peak[0m
|
|
Real: .046s, User: .030s, Sys: .016s
|
|
Instructions: 17776760, Cycles: 8998434, IPC: 1.97
|
|
Data saved to: data/Java/
|
|
JavaScript [0;32mSUCCESS[0m 118 ms, [0;34m44417024 bytes avg / [1;33m44580864 bytes peak, [1;33m0% CPU avg / 0% CPU peak[0m
|
|
Real: .090s, User: .070s, Sys: .010s
|
|
Instructions: 18142055, Cycles: 9003896, IPC: 2.01
|
|
Data saved to: data/JavaScript/
|
|
Julia [0;32mSUCCESS[0m 190 ms, [0;34m236235434 bytes avg / [1;33m236355584 bytes peak, [1;33m0% CPU avg / 0% CPU peak[0m
|
|
Real: .173s, User: .116s, Sys: .033s
|
|
Instructions: 17691121, Cycles: 7819185, IPC: 2.26
|
|
Data saved to: data/Julia/
|
|
Kotlin [0;32mSUCCESS[0m 65 ms, [0;34m45208917 bytes avg / [1;33m45383680 bytes peak, [1;33m0% CPU avg / 0% CPU peak[0m
|
|
Real: .046s, User: .040s, Sys: .013s
|
|
Instructions: 17527899, Cycles: 7459125, IPC: 2.34
|
|
Data saved to: data/Kotlin/
|
|
Objective-C [0;32mSUCCESS[0m 27 ms, [0;34m6045696 bytes avg / [1;33m6045696 bytes peak, [1;33m0% CPU avg / 0% CPU peak[0m
|
|
Real: 0s, User: 0s, Sys: 0s
|
|
Instructions: 27238699, Cycles: 10593613, IPC: 2.57
|
|
Data saved to: data/Objective-C/
|
|
Scala [0[0;32mSUCCESS[0m 471 ms, [0;34m55973205 bytes avg / [1;33m58376192 bytes peak, [1;33m0% CPU avg / 0% CPU peak[0m
|
|
Real: .446s, User: .193s, Sys: .066s
|
|
Instructions: 18880700, Cycles: 8929948, IPC: 2.11
|
|
Data saved to: data/Scala/
|
|
TypeScript[0[0;32mSUCCESS[0m 1361 ms, [0;34m208289792 bytes avg / [1;33m218808320 bytes peak, [1;33m0% CPU avg / 0% CPU peak[0m
|
|
Real: 1.333s, User: 1.700s, Sys: .183s
|
|
Instructions: 17642488, Cycles: 7699920, IPC: 2.29
|
|
Data saved to: data/TypeScript/
|
|
Lua [0;32mSUCCESS[0m 29 ms, [0;34m2091690 bytes avg / [1;33m2097152 bytes peak, [1;33m0% CPU avg / 0% CPU peak[0m
|
|
Real: .010s, User: 0s, Sys: 0s
|
|
Instructions: 17419324, Cycles: 8017680, IPC: 2.17
|
|
Data saved to: data/Lua/
|
|
Nim [0;32mSUCCESS[0m 27 ms, [0;34m1572864 bytes avg / [1;33m1572864 bytes peak, [1;33m0% CPU avg / 0% CPU peak[0m
|
|
Real: 0s, User: 0s, Sys: 0s
|
|
Instructions: 15728237, Cycles: 5449577, IPC: 2.88
|
|
Data saved to: data/Nim/
|
|
Odin [0;32mSUCCESS[0m 30 ms, [0;34m1731242 bytes avg / [1;33m1753088 bytes peak, [1;33m0% CPU avg / 0% CPU peak[0m
|
|
Real: 0s, User: 0s, Sys: 0s
|
|
Instructions: 16241385, Cycles: 6689690, IPC: 2.42
|
|
Data saved to: data/Odin/
|
|
Perl [0;32mSUCCESS[0m 58 ms, [0;34m12506453 bytes avg / [1;33m12550144 bytes peak, [1;33m0% CPU avg / 0% CPU peak[0m
|
|
Real: .040s, User: .030s, Sys: 0s
|
|
Instructions: 17355692, Cycles: 7662235, IPC: 2.26
|
|
Data saved to: data/Perl/
|
|
PHP [0;32mSUCCESS[0m 95 ms, [0;34m26624000 bytes avg / [1;33m26689536 bytes peak, [1;33m0% CPU avg / 0% CPU peak[0m
|
|
Real: .066s, User: .043s, Sys: .010s
|
|
Instructions: 17546554, Cycles: 7685481, IPC: 2.28
|
|
Data saved to: data/PHP/
|
|
Python [0;32mSUCCESS[0m 60 ms, [0;34m9737557 bytes avg / [1;33m9814016 bytes peak, [1;33m0% CPU avg / 0% CPU peak[0m
|
|
Real: .043s, User: .020s, Sys: .010s
|
|
Instructions: 17485978, Cycles: 7928968, IPC: 2.20
|
|
Data saved to: data/Python/
|
|
R [0;32mSUCCESS[0m 220 ms, [0;34m91253418 bytes avg / [1;33m91734016 bytes peak, [1;33m0% CPU avg / 0% CPU peak[0m
|
|
Real: .200s, User: .143s, Sys: .036s
|
|
Instructions: 18177908, Cycles: 8751540, IPC: 2.07
|
|
Data saved to: data/R/
|
|
Ruby [0;32mSUCCESS[0m 96 ms, [0;34m28934144 bytes avg / [1;33m28950528 bytes peak, [1;33m0% CPU avg / 0% CPU peak[0m
|
|
Real: .076s, User: .040s, Sys: .020s
|
|
Instructions: 17400986, Cycles: 7174843, IPC: 2.42
|
|
Data saved to: data/Ruby/
|
|
Rust [0;32mSUCCESS[0m 27 ms, [0;34m1687552 bytes avg / [1;33m1703936 bytes peak, [1;33m0% CPU avg / 0% CPU peak[0m
|
|
Real: 0s, User: 0s, Sys: 0s
|
|
Instructions: 15233650, Cycles: 4898110, IPC: 3.11
|
|
Data saved to: data/Rust/
|
|
Swift [0;32mSUCCESS[0m 30 ms, [0;34m6083925 bytes avg / [1;33m6094848 bytes peak, [1;33m0% CPU avg / 0% CPU peak[0m
|
|
Real: 0s, User: 0s, Sys: 0s
|
|
Instructions: 50037590, Cycles: 16493503, IPC: 3.03
|
|
Data saved to: data/Swift/
|
|
Zig [0;32mSUCCESS[0m 25 ms, [0;34m2981888 bytes avg / [1;33m2981888 bytes peak, [1;33m0% CPU avg / 0% CPU peak[0m
|
|
Real: .003s, User: 0s, Sys: 0s
|
|
Instructions: 63916095, Cycles: 24932859, IPC: 2.56
|
|
Data saved to: data/Zig/
|
|
Assembly [0;32mSUCCESS[0m 32 ms, [0;34m1409024 bytes avg / [1;33m1409024 bytes peak, [1;33m0% CPU avg / 0% CPU peak[0m
|
|
Real: 0s, User: 0s, Sys: 0s
|
|
Instructions: 12558975, Cycles: 6069377, IPC: 2.06
|
|
Data saved to: data/Assembly/
|
|
Wolfram |