diff options
Diffstat (limited to 'analysis/current/sections/compare-example_stack')
-rw-r--r-- | analysis/current/sections/compare-example_stack | 124 |
1 files changed, 62 insertions, 62 deletions
diff --git a/analysis/current/sections/compare-example_stack b/analysis/current/sections/compare-example_stack index e0f75d3..787c3ac 100644 --- a/analysis/current/sections/compare-example_stack +++ b/analysis/current/sections/compare-example_stack @@ -1,85 +1,85 @@ -:1710098713:compare-example_stack +:1710899383:compare-example_stack [0Kcompare-example_stack /run/current-system/sw/bin/candelabra-cli -l --manifest-path /opt/candelabra/src/tests/Cargo.toml -p example_stack select --compare -[2024-03-10T19:25:13Z INFO candelabra_cli] Using source dir: "/nix/store/arg3vck84cg7ah84s37qjc2qshavq5yx-source" -[2024-03-10T19:25:13Z DEBUG candelabra::candidates] Initialised candidate cacher with hash 10402570600929242768 -[2024-03-10T19:25:13Z DEBUG primrose::library_specs] Failed to process library module /nix/store/arg3vck84cg7ah84s37qjc2qshavq5yx-source/crates/library/src/adaptive.rs. Continuing anyway. -[2024-03-10T19:25:13Z DEBUG primrose::library_specs] Failed to process library module /nix/store/arg3vck84cg7ah84s37qjc2qshavq5yx-source/crates/library/src/profiler.rs. Continuing anyway. -[2024-03-10T19:25:13Z DEBUG primrose::library_specs] Failed to process library module /nix/store/arg3vck84cg7ah84s37qjc2qshavq5yx-source/crates/library/src/traits.rs. Continuing anyway. -[2024-03-10T19:25:13Z DEBUG candelabra::cost] Initialised benchmark cacher with hash 10402570600929242768 -[2024-03-10T19:25:13Z INFO candelabra_cli::select] Processing project example_stack +[2024-03-20T01:49:43Z INFO candelabra_cli] Using source dir: "/nix/store/n9bab5lfpka22cpsfrvdsg454dn0kkdn-source" +[2024-03-20T01:49:43Z DEBUG candelabra::candidates] Initialised candidate cacher with hash 6543311679163142612 +[2024-03-20T01:49:43Z DEBUG primrose::library_specs] Failed to process library module /nix/store/n9bab5lfpka22cpsfrvdsg454dn0kkdn-source/crates/library/src/adaptive.rs. Continuing anyway. +[2024-03-20T01:49:43Z DEBUG primrose::library_specs] Failed to process library module /nix/store/n9bab5lfpka22cpsfrvdsg454dn0kkdn-source/crates/library/src/profiler.rs. Continuing anyway. +[2024-03-20T01:49:43Z DEBUG primrose::library_specs] Failed to process library module /nix/store/n9bab5lfpka22cpsfrvdsg454dn0kkdn-source/crates/library/src/traits.rs. Continuing anyway. +[2024-03-20T01:49:43Z DEBUG candelabra::cost] Initialised benchmark cacher with hash 6543311679163142612 +[2024-03-20T01:49:43Z INFO candelabra_cli::select] Processing project example_stack ┌──────────┬──────────────────────────────┬────────────────────┬─────────────────────────────────────────────────────────┐ │ name │ implementation │ estimated cost │ file │ ├──────────┼──────────────────────────────┼────────────────────┼─────────────────────────────────────────────────────────┤ -│ StackCon │ std::collections::LinkedList │ 3715654128004604 │ /opt/candelabra/src/tests/example_stack/src/types.pr.rs │ -│ StackCon │ std::vec::Vec │ 369323545058541.06 │ /opt/candelabra/src/tests/example_stack/src/types.pr.rs │ +│ StackCon │ std::vec::Vec │ 1623281693.429239 │ /opt/candelabra/src/tests/example_stack/src/types.pr.rs │ +│ StackCon │ std::collections::LinkedList │ 12115438988.988811 │ /opt/candelabra/src/tests/example_stack/src/types.pr.rs │ └──────────┴──────────────────────────────┴────────────────────┴─────────────────────────────────────────────────────────┘ \begin{center} \begin{tabular}{|c|c|c|c|} name & implementation & estimated cost & file \\ \hline -StackCon & std::collections::LinkedList & 3715654128004604 & /opt/candelabra/src/tests/example\_stack/src/types.pr.rs \\ -StackCon & std::vec::Vec & 369323545058541.06 & /opt/candelabra/src/tests/example\_stack/src/types.pr.rs \\ +StackCon & std::vec::Vec & 1623281693.429239 & /opt/candelabra/src/tests/example\_stack/src/types.pr.rs \\ +StackCon & std::collections::LinkedList & 12115438988.988811 & /opt/candelabra/src/tests/example\_stack/src/types.pr.rs \\ \end{tabular} \end{center} -[2024-03-10T19:25:13Z DEBUG candelabra::profiler::info] Checking for nsplit -[2024-03-10T19:25:13Z DEBUG candelabra::profiler::info] Partitions: [ProfilerPartition { occurences: 610.0, avg_n: 1000000.0, avg_op_counts: {"get": 0.0, "last": 0.0, "clear": 0.0, "nth": 0.0, "remove": 0.0, "contains": 0.0, "first": 0.0, "pop": 1000000.0, "push": 1000000.0, "insert": 0.0} }, ProfilerPartition { occurences: 55.0, avg_n: 10000000.0, avg_op_counts: {"remove": 0.0, "clear": 0.0, "nth": 0.0, "last": 0.0, "first": 0.0, "insert": 0.0, "pop": 10000000.0, "push": 10000000.0, "contains": 0.0, "get": 0.0} }, ProfilerPartition { occurences: 5.0, avg_n: 50000000.0, avg_op_counts: {"pop": 50000000.0, "clear": 0.0, "nth": 0.0, "contains": 0.0, "first": 0.0, "last": 0.0, "remove": 0.0, "get": 0.0, "push": 50000000.0, "insert": 0.0} }] -[2024-03-10T19:25:13Z DEBUG candelabra::profiler::info] Costs by partitions: [("std::collections::LinkedList", [3094563276267.368, 298517614072360.5, 3414041950655976.0]), ("std::vec::Vec", [357699164922.01996, 30030307293494.707, 338935538600124.3])] -[2024-03-10T19:25:13Z DEBUG candelabra::profiler::info] Top by partition: [("std::vec::Vec", 357699164922.01996), ("std::vec::Vec", 30030307293494.707), ("std::vec::Vec", 338935538600124.3)] -[2024-03-10T19:25:13Z DEBUG candelabra::profiler::info] Checking for nsplit -[2024-03-10T19:25:13Z DEBUG candelabra::profiler::info] Partitions: [ProfilerPartition { occurences: 610.0, avg_n: 1000000.0, avg_op_counts: {"last": 0.0, "first": 0.0, "clear": 0.0, "push": 1000000.0, "nth": 0.0, "pop": 1000000.0, "get": 0.0, "insert": 0.0, "contains": 0.0, "remove": 0.0} }, ProfilerPartition { occurences: 55.0, avg_n: 10000000.0, avg_op_counts: {"insert": 0.0, "last": 0.0, "pop": 10000000.0, "nth": 0.0, "remove": 0.0, "first": 0.0, "get": 0.0, "push": 10000000.0, "clear": 0.0, "contains": 0.0} }, ProfilerPartition { occurences: 5.0, avg_n: 50000000.0, avg_op_counts: {"push": 50000000.0, "get": 0.0, "pop": 50000000.0, "nth": 0.0, "remove": 0.0, "insert": 0.0, "first": 0.0, "last": 0.0, "contains": 0.0, "clear": 0.0} }] -[2024-03-10T19:25:13Z DEBUG candelabra::profiler::info] Costs by partitions: [("std::vec::Vec", [357699164922.01996, 30030307293494.707, 338935538600124.3]), ("std::collections::LinkedList", [3094563276267.368, 298517614072360.5, 3414041950655976.0])] -[2024-03-10T19:25:13Z DEBUG candelabra::profiler::info] Top by partition: [("std::vec::Vec", 357699164922.01996), ("std::vec::Vec", 30030307293494.707), ("std::vec::Vec", 338935538600124.3)] -[2024-03-10T19:25:13Z DEBUG candelabra::confirmation] Saving choices for project example_stack -[2024-03-10T19:25:13Z DEBUG candelabra::confirmation] Saving choices for /opt/candelabra/src/tests/example_stack/src/types.pr.rs -[2024-03-10T19:25:13Z DEBUG primrose::selector] Setting up directories -[2024-03-10T19:25:13Z DEBUG primrose::selector] Parsing into blocks -[2024-03-10T19:25:13Z DEBUG primrose::selector] Running type checker -[2024-03-10T19:25:13Z DEBUG primrose::selector] Running analysis -[2024-03-10T19:25:13Z DEBUG primrose::library_specs] Ignoring invalid library module /nix/store/arg3vck84cg7ah84s37qjc2qshavq5yx-source/crates/library/src/adaptive.rs -[2024-03-10T19:25:13Z DEBUG primrose::library_specs] Ignoring invalid library module /nix/store/arg3vck84cg7ah84s37qjc2qshavq5yx-source/crates/library/src/profiler.rs -[2024-03-10T19:25:13Z DEBUG primrose::library_specs] Ignoring invalid library module /nix/store/arg3vck84cg7ah84s37qjc2qshavq5yx-source/crates/library/src/traits.rs -[2024-03-10T19:25:13Z INFO candelabra_cli::select] Saved best choices -[2024-03-10T19:25:13Z INFO candelabra_cli::select] Running benchmarks with {("/opt/candelabra/src/tests/example_stack/src/types.pr.rs", "StackCon"): std::collections::LinkedList} -[2024-03-10T19:25:13Z DEBUG candelabra::confirmation] Saving choices for project example_stack -[2024-03-10T19:25:13Z DEBUG candelabra::confirmation] Saving choices for /opt/candelabra/src/tests/example_stack/src/types.pr.rs -[2024-03-10T19:25:13Z DEBUG primrose::selector] Setting up directories -[2024-03-10T19:25:13Z DEBUG primrose::selector] Parsing into blocks -[2024-03-10T19:25:13Z DEBUG primrose::selector] Running type checker -[2024-03-10T19:25:13Z DEBUG primrose::selector] Running analysis -[2024-03-10T19:25:13Z DEBUG primrose::library_specs] Ignoring invalid library module /nix/store/arg3vck84cg7ah84s37qjc2qshavq5yx-source/crates/library/src/adaptive.rs -[2024-03-10T19:25:13Z DEBUG primrose::library_specs] Ignoring invalid library module /nix/store/arg3vck84cg7ah84s37qjc2qshavq5yx-source/crates/library/src/profiler.rs -[2024-03-10T19:25:13Z DEBUG primrose::library_specs] Ignoring invalid library module /nix/store/arg3vck84cg7ah84s37qjc2qshavq5yx-source/crates/library/src/traits.rs +[2024-03-20T01:49:44Z DEBUG candelabra::profiler::info] Checking for nsplit +[2024-03-20T01:49:44Z DEBUG candelabra::profiler::info] Partitions: [ProfilerPartition { occurences: 261513.0, avg_n: 10.0, avg_op_counts: {"pop": 10.0, "push": 10.0, "insert": 0.0, "first": 0.0, "clear": 0.0, "last": 0.0, "remove": 0.0, "contains": 0.0, "get": 0.0, "nth": 0.0} }, ProfilerPartition { occurences: 54426.0, avg_n: 1000.0, avg_op_counts: {"first": 0.0, "contains": 0.0, "insert": 0.0, "remove": 0.0, "nth": 0.0, "get": 0.0, "push": 1000.0, "pop": 1000.0, "clear": 0.0, "last": 0.0} }, ProfilerPartition { occurences: 38921.0, avg_n: 10000.0, avg_op_counts: {"remove": 0.0, "push": 10000.0, "first": 0.0, "get": 0.0, "last": 0.0, "clear": 0.0, "nth": 0.0, "insert": 0.0, "pop": 10000.0, "contains": 0.0} }] +[2024-03-20T01:49:44Z DEBUG candelabra::profiler::info] Costs by partitions: [("std::collections::LinkedList", [59142275.223214686, 1456150862.390552, 10600145851.375044]), ("std::vec::Vec", [40925757.191425145, 259987504.43913752, 1322368431.7986765])] +[2024-03-20T01:49:44Z DEBUG candelabra::profiler::info] Top by partition: [("std::vec::Vec", 40925757.191425145), ("std::vec::Vec", 259987504.43913752), ("std::vec::Vec", 1322368431.7986765)] +[2024-03-20T01:49:44Z DEBUG candelabra::profiler::info] Checking for nsplit +[2024-03-20T01:49:44Z DEBUG candelabra::profiler::info] Partitions: [ProfilerPartition { occurences: 261513.0, avg_n: 10.0, avg_op_counts: {"last": 0.0, "clear": 0.0, "push": 10.0, "pop": 10.0, "insert": 0.0, "remove": 0.0, "get": 0.0, "first": 0.0, "contains": 0.0, "nth": 0.0} }, ProfilerPartition { occurences: 54426.0, avg_n: 1000.0, avg_op_counts: {"pop": 1000.0, "contains": 0.0, "push": 1000.0, "insert": 0.0, "remove": 0.0, "get": 0.0, "clear": 0.0, "nth": 0.0, "first": 0.0, "last": 0.0} }, ProfilerPartition { occurences: 38921.0, avg_n: 10000.0, avg_op_counts: {"insert": 0.0, "pop": 10000.0, "first": 0.0, "clear": 0.0, "push": 10000.0, "nth": 0.0, "contains": 0.0, "remove": 0.0, "get": 0.0, "last": 0.0} }] +[2024-03-20T01:49:44Z DEBUG candelabra::profiler::info] Costs by partitions: [("std::vec::Vec", [40925757.191425145, 259987504.43913752, 1322368431.7986765]), ("std::collections::LinkedList", [59142275.223214686, 1456150862.390552, 10600145851.375044])] +[2024-03-20T01:49:44Z DEBUG candelabra::profiler::info] Top by partition: [("std::vec::Vec", 40925757.191425145), ("std::vec::Vec", 259987504.43913752), ("std::vec::Vec", 1322368431.7986765)] +[2024-03-20T01:49:44Z DEBUG candelabra::confirmation] Saving choices for project example_stack +[2024-03-20T01:49:44Z DEBUG candelabra::confirmation] Saving choices for /opt/candelabra/src/tests/example_stack/src/types.pr.rs +[2024-03-20T01:49:44Z DEBUG primrose::selector] Setting up directories +[2024-03-20T01:49:44Z DEBUG primrose::selector] Parsing into blocks +[2024-03-20T01:49:44Z DEBUG primrose::selector] Running type checker +[2024-03-20T01:49:44Z DEBUG primrose::selector] Running analysis +[2024-03-20T01:49:44Z DEBUG primrose::library_specs] Ignoring invalid library module /nix/store/n9bab5lfpka22cpsfrvdsg454dn0kkdn-source/crates/library/src/adaptive.rs +[2024-03-20T01:49:44Z DEBUG primrose::library_specs] Ignoring invalid library module /nix/store/n9bab5lfpka22cpsfrvdsg454dn0kkdn-source/crates/library/src/profiler.rs +[2024-03-20T01:49:44Z DEBUG primrose::library_specs] Ignoring invalid library module /nix/store/n9bab5lfpka22cpsfrvdsg454dn0kkdn-source/crates/library/src/traits.rs +[2024-03-20T01:49:44Z INFO candelabra_cli::select] Saved best choices +[2024-03-20T01:49:44Z INFO candelabra_cli::select] Running benchmarks with {("/opt/candelabra/src/tests/example_stack/src/types.pr.rs", "StackCon"): std::vec::Vec} +[2024-03-20T01:49:44Z DEBUG candelabra::confirmation] Saving choices for project example_stack +[2024-03-20T01:49:44Z DEBUG candelabra::confirmation] Saving choices for /opt/candelabra/src/tests/example_stack/src/types.pr.rs +[2024-03-20T01:49:44Z DEBUG primrose::selector] Setting up directories +[2024-03-20T01:49:44Z DEBUG primrose::selector] Parsing into blocks +[2024-03-20T01:49:44Z DEBUG primrose::selector] Running type checker +[2024-03-20T01:49:44Z DEBUG primrose::selector] Running analysis +[2024-03-20T01:49:44Z DEBUG primrose::library_specs] Ignoring invalid library module /nix/store/n9bab5lfpka22cpsfrvdsg454dn0kkdn-source/crates/library/src/adaptive.rs +[2024-03-20T01:49:44Z DEBUG primrose::library_specs] Ignoring invalid library module /nix/store/n9bab5lfpka22cpsfrvdsg454dn0kkdn-source/crates/library/src/profiler.rs +[2024-03-20T01:49:44Z DEBUG primrose::library_specs] Ignoring invalid library module /nix/store/n9bab5lfpka22cpsfrvdsg454dn0kkdn-source/crates/library/src/traits.rs Compiling example_stack v0.1.0 (/opt/candelabra/src/tests/example_stack) Finished bench [optimized] target(s) in 2.70s Running benches/main.rs (/opt/candelabra/src/tests/target/release/deps/main-3694756a33adc5ee) -[2024-03-10T19:26:30Z INFO candelabra_cli::select] Running benchmarks with {("/opt/candelabra/src/tests/example_stack/src/types.pr.rs", "StackCon"): std::vec::Vec} -[2024-03-10T19:26:30Z DEBUG candelabra::confirmation] Saving choices for project example_stack -[2024-03-10T19:26:30Z DEBUG candelabra::confirmation] Saving choices for /opt/candelabra/src/tests/example_stack/src/types.pr.rs -[2024-03-10T19:26:30Z DEBUG primrose::selector] Setting up directories -[2024-03-10T19:26:30Z DEBUG primrose::selector] Parsing into blocks -[2024-03-10T19:26:30Z DEBUG primrose::selector] Running type checker -[2024-03-10T19:26:30Z DEBUG primrose::selector] Running analysis -[2024-03-10T19:26:30Z DEBUG primrose::library_specs] Ignoring invalid library module /nix/store/arg3vck84cg7ah84s37qjc2qshavq5yx-source/crates/library/src/adaptive.rs -[2024-03-10T19:26:30Z DEBUG primrose::library_specs] Ignoring invalid library module /nix/store/arg3vck84cg7ah84s37qjc2qshavq5yx-source/crates/library/src/profiler.rs -[2024-03-10T19:26:30Z DEBUG primrose::library_specs] Ignoring invalid library module /nix/store/arg3vck84cg7ah84s37qjc2qshavq5yx-source/crates/library/src/traits.rs +[2024-03-20T01:50:19Z INFO candelabra_cli::select] Running benchmarks with {("/opt/candelabra/src/tests/example_stack/src/types.pr.rs", "StackCon"): std::collections::LinkedList} +[2024-03-20T01:50:19Z DEBUG candelabra::confirmation] Saving choices for project example_stack +[2024-03-20T01:50:19Z DEBUG candelabra::confirmation] Saving choices for /opt/candelabra/src/tests/example_stack/src/types.pr.rs +[2024-03-20T01:50:19Z DEBUG primrose::selector] Setting up directories +[2024-03-20T01:50:20Z DEBUG primrose::selector] Parsing into blocks +[2024-03-20T01:50:20Z DEBUG primrose::selector] Running type checker +[2024-03-20T01:50:20Z DEBUG primrose::selector] Running analysis +[2024-03-20T01:50:20Z DEBUG primrose::library_specs] Ignoring invalid library module /nix/store/n9bab5lfpka22cpsfrvdsg454dn0kkdn-source/crates/library/src/adaptive.rs +[2024-03-20T01:50:20Z DEBUG primrose::library_specs] Ignoring invalid library module /nix/store/n9bab5lfpka22cpsfrvdsg454dn0kkdn-source/crates/library/src/profiler.rs +[2024-03-20T01:50:20Z DEBUG primrose::library_specs] Ignoring invalid library module /nix/store/n9bab5lfpka22cpsfrvdsg454dn0kkdn-source/crates/library/src/traits.rs Compiling example_stack v0.1.0 (/opt/candelabra/src/tests/example_stack) - Finished bench [optimized] target(s) in 2.55s + Finished bench [optimized] target(s) in 2.94s Running benches/main.rs (/opt/candelabra/src/tests/target/release/deps/main-3694756a33adc5ee) -┌─────────────────────────────────────────────────────────────────────────────────────────────────────────┬──────────┬───────────┬───────────┬────────────┬──────────┬────────────┐ -│ │ l18 │ l19 │ l29 │ l31 │ l8 │ total │ -├─────────────────────────────────────────────────────────────────────────────────────────────────────────┼──────────┼───────────┼───────────┼────────────┼──────────┼────────────┤ -│ {("/opt/candelabra/src/tests/example_stack/src/types.pr.rs", "StackCon"): std::vec::Vec} │ 55677000 │ │ 284540000 │ │ 1706000 │ 341923000 │ -│ {("/opt/candelabra/src/tests/example_stack/src/types.pr.rs", "StackCon"): std::collections::LinkedList} │ │ 384980000 │ │ 1868100000 │ 20625000 │ 2273705000 │ -└─────────────────────────────────────────────────────────────────────────────────────────────────────────┴──────────┴───────────┴───────────┴────────────┴──────────┴────────────┘ +┌─────────────────────────────────────────────────────────────────────────────────────────────────────────┬────────────────────┬────────┬───────┬────────┬──────────┐ +│ │ l17 │ l24 │ l27 │ l8 │ total │ +├─────────────────────────────────────────────────────────────────────────────────────────────────────────┼────────────────────┼────────┼───────┼────────┼──────────┤ +│ {("/opt/candelabra/src/tests/example_stack/src/types.pr.rs", "StackCon"): std::vec::Vec} │ 1783.6000000000001 │ │ 17305 │ 136.38 │ 19224.98 │ +│ {("/opt/candelabra/src/tests/example_stack/src/types.pr.rs", "StackCon"): std::collections::LinkedList} │ 34411 │ 354060 │ │ 160.1 │ 388631.1 │ +└─────────────────────────────────────────────────────────────────────────────────────────────────────────┴────────────────────┴────────┴───────┴────────┴──────────┘ \begin{center} -\begin{tabular}{|c|c|c|c|c|c|c|} - & l18 & l19 & l29 & l31 & l8 & total \\ +\begin{tabular}{|c|c|c|c|c|c|} + & l17 & l24 & l27 & l8 & total \\ \hline -\{("/opt/candelabra/src/tests/example\_stack/src/types.pr.rs", "StackCon"): std::vec::Vec\} & 55677000 & & 284540000 & & 1706000 & 341923000 \\ -\{("/opt/candelabra/src/tests/example\_stack/src/types.pr.rs", "StackCon"): std::collections::LinkedList\} & & 384980000 & & 1868100000 & 20625000 & 2273705000 \\ +\{("/opt/candelabra/src/tests/example\_stack/src/types.pr.rs", "StackCon"): std::vec::Vec\} & 1783.6000000000001 & & 17305 & 136.38 & 19224.98 \\ +\{("/opt/candelabra/src/tests/example\_stack/src/types.pr.rs", "StackCon"): std::collections::LinkedList\} & 34411 & 354060 & & 160.1 & 388631.1 \\ \end{tabular} \end{center} -[0Ksection_end:1710098826:compare-example_stack +[0Ksection_end:1710899455:compare-example_stack [0K
\ No newline at end of file |