aboutsummaryrefslogtreecommitdiff
path: root/analysis/current/sections/compare-aoc_2022_08
diff options
context:
space:
mode:
Diffstat (limited to 'analysis/current/sections/compare-aoc_2022_08')
-rw-r--r--analysis/current/sections/compare-aoc_2022_08132
1 files changed, 132 insertions, 0 deletions
diff --git a/analysis/current/sections/compare-aoc_2022_08 b/analysis/current/sections/compare-aoc_2022_08
new file mode 100644
index 0000000..7931a12
--- /dev/null
+++ b/analysis/current/sections/compare-aoc_2022_08
@@ -0,0 +1,132 @@
+:1710074862:compare-aoc_2022_08
+compare-aoc_2022_08
+/run/current-system/sw/bin/candelabra-cli -l --manifest-path /opt/candelabra/src/tests/Cargo.toml -p aoc_2022_08 select --compare
+[2024-03-10T12:47:42Z INFO candelabra_cli] Using source dir: "/nix/store/1vjbjqp60xw852rp1r7zdw6i6xcmja7j-source"
+[2024-03-10T12:47:42Z DEBUG candelabra::candidates] Initialised candidate cacher with hash 10402570600929242768
+[2024-03-10T12:47:42Z DEBUG primrose::library_specs] Failed to process library module /nix/store/1vjbjqp60xw852rp1r7zdw6i6xcmja7j-source/crates/library/src/adaptive.rs. Continuing anyway.
+[2024-03-10T12:47:42Z DEBUG primrose::library_specs] Failed to process library module /nix/store/1vjbjqp60xw852rp1r7zdw6i6xcmja7j-source/crates/library/src/profiler.rs. Continuing anyway.
+[2024-03-10T12:47:42Z DEBUG primrose::library_specs] Failed to process library module /nix/store/1vjbjqp60xw852rp1r7zdw6i6xcmja7j-source/crates/library/src/traits.rs. Continuing anyway.
+[2024-03-10T12:47:42Z DEBUG candelabra::cost] Initialised benchmark cacher with hash 10402570600929242768
+[2024-03-10T12:47:42Z INFO candelabra_cli::select] Processing project aoc_2022_08
+[2024-03-10T12:47:42Z DEBUG primrose::selector] Setting up directories
+[2024-03-10T12:47:42Z DEBUG primrose::selector] Parsing into blocks
+[2024-03-10T12:47:42Z DEBUG primrose::selector] Running type checker
+[2024-03-10T12:47:42Z DEBUG primrose::selector] Running analysis
+[2024-03-10T12:47:42Z DEBUG primrose::library_specs] Ignoring invalid library module /nix/store/1vjbjqp60xw852rp1r7zdw6i6xcmja7j-source/crates/library/src/adaptive.rs
+[2024-03-10T12:47:42Z DEBUG primrose::library_specs] Ignoring invalid library module /nix/store/1vjbjqp60xw852rp1r7zdw6i6xcmja7j-source/crates/library/src/profiler.rs
+[2024-03-10T12:47:42Z DEBUG primrose::library_specs] Ignoring invalid library module /nix/store/1vjbjqp60xw852rp1r7zdw6i6xcmja7j-source/crates/library/src/traits.rs
+[2024-03-10T12:47:42Z INFO primrose::selector] Finding container types for tag Map
+[2024-03-10T12:47:42Z DEBUG primrose::selector] std::collections::BTreeMap - ...
+[2024-03-10T12:47:42Z DEBUG primrose::selector] std::collections::BTreeMap - YAY
+[2024-03-10T12:47:42Z DEBUG primrose::selector] std::collections::HashMap - ...
+[2024-03-10T12:47:42Z DEBUG primrose::selector] std::collections::HashMap - YAY
+[2024-03-10T12:47:42Z INFO candelabra::profiler] Setting up /opt/candelabra/src/tests/aoc_2022_08/src/types.pr.rs for profiling
+[2024-03-10T12:47:42Z DEBUG primrose::selector] Setting up directories
+[2024-03-10T12:47:42Z DEBUG primrose::selector] Parsing into blocks
+[2024-03-10T12:47:42Z DEBUG primrose::selector] Running type checker
+[2024-03-10T12:47:42Z DEBUG primrose::selector] Running analysis
+[2024-03-10T12:47:42Z DEBUG primrose::library_specs] Ignoring invalid library module /nix/store/1vjbjqp60xw852rp1r7zdw6i6xcmja7j-source/crates/library/src/adaptive.rs
+[2024-03-10T12:47:42Z DEBUG primrose::library_specs] Ignoring invalid library module /nix/store/1vjbjqp60xw852rp1r7zdw6i6xcmja7j-source/crates/library/src/profiler.rs
+[2024-03-10T12:47:42Z DEBUG primrose::library_specs] Ignoring invalid library module /nix/store/1vjbjqp60xw852rp1r7zdw6i6xcmja7j-source/crates/library/src/traits.rs
+[2024-03-10T12:47:42Z INFO candelabra::profiler] Running benchmark main with out dir TempDir { path: "/tmp/.tmpSnZ2NH" }
+ Compiling aoc_2022_08 v0.1.0 (/opt/candelabra/src/tests/aoc_2022_08)
+ Finished bench [optimized] target(s) in 3.30s
+ Running benches/main.rs (/opt/candelabra/src/tests/target/release/deps/main-d6c2837aae431d80)
+┌──────┬────────────────────────────────────────────────────────────────────────────┬────────────────────┬───────────────────────────────────────────────────────┐
+│ name │ implementation │ estimated cost │ file │
+├──────┼────────────────────────────────────────────────────────────────────────────┼────────────────────┼───────────────────────────────────────────────────────┤
+│ Map │ std::collections::BTreeMap │ 39512614.17816061 │ /opt/candelabra/src/tests/aoc_2022_08/src/types.pr.rs │
+│ Map │ std::collections::HashMap │ 1211539751549.9517 │ /opt/candelabra/src/tests/aoc_2022_08/src/types.pr.rs │
+│ Map │ std::collections::HashMap until n=1000000, then std::collections::BTreeMap │ 21794930.45403104 │ /opt/candelabra/src/tests/aoc_2022_08/src/types.pr.rs │
+└──────┴────────────────────────────────────────────────────────────────────────────┴────────────────────┴───────────────────────────────────────────────────────┘
+\begin{center}
+\begin{tabular}{|c|c|c|c|}
+name & implementation & estimated cost & file \\
+\hline
+Map & std::collections::BTreeMap & 39512614.17816061 & /opt/candelabra/src/tests/aoc\_2022\_08/src/types.pr.rs \\
+Map & std::collections::HashMap & 1211539751549.9517 & /opt/candelabra/src/tests/aoc\_2022\_08/src/types.pr.rs \\
+Map & std::collections::HashMap until n=1000000, then std::collections::BTreeMap & 21794930.45403104 & /opt/candelabra/src/tests/aoc\_2022\_08/src/types.pr.rs \\
+\end{tabular}
+\end{center}
+[2024-03-10T12:48:42Z DEBUG candelabra::profiler::info] Checking for nsplit
+[2024-03-10T12:48:42Z DEBUG candelabra::profiler::info] Partitions: [ProfilerPartition { occurences: 2.0, avg_n: 11494.0, avg_op_counts: {"contains": 0.0, "first": 0.0, "remove": 0.0, "nth": 0.0, "push": 0.0, "get": 0.0, "insert": 11565.0, "last": 0.0, "pop": 0.0, "clear": 0.0} }, ProfilerPartition { occurences: 7.0, avg_n: 11613.857142857143, avg_op_counts: {"contains": 0.0, "push": 0.0, "nth": 0.0, "pop": 0.0, "get": 0.0, "remove": 0.0, "last": 0.0, "first": 0.0, "clear": 0.0, "insert": 11670.999999999998} }, ProfilerPartition { occurences: 10.0, avg_n: 11699.800000000001, avg_op_counts: {"nth": 0.0, "contains": 0.0, "push": 0.0, "insert": 11760.9, "remove": 0.0, "pop": 0.0, "clear": 0.0, "last": 0.0, "get": 0.0, "first": 0.0} }, ProfilerPartition { occurences: 16.0, avg_n: 12822.187499999998, avg_op_counts: {"nth": 0.0, "clear": 0.0, "push": 0.0, "remove": 0.0, "last": 0.0, "get": 0.0, "insert": 12884.4375, "first": 0.0, "contains": 0.0, "pop": 0.0} }, ProfilerPartition { occurences: 1.0, avg_n: 12952.0, avg_op_counts: {"contains": 0.0, "push": 0.0, "nth": 0.0, "clear": 0.0, "last": 0.0, "pop": 0.0, "remove": 0.0, "insert": 13008.0, "first": 0.0, "get": 0.0} }, ProfilerPartition { occurences: 35.0, avg_n: 1000000.0, avg_op_counts: {"first": 0.0, "pop": 0.0, "last": 0.0, "insert": 1685714.285714286, "push": 0.0, "contains": 0.0, "remove": 0.0, "nth": 0.0, "clear": 0.0, "get": 4000000.0} }, ProfilerPartition { occurences: 29.0, avg_n: 1210000.0, avg_op_counts: {"get": 4840000.0, "push": 0.0, "insert": 1961034.4827586208, "remove": 0.0, "contains": 0.0, "pop": 0.0, "clear": 0.0, "nth": 0.0, "first": 0.0, "last": 0.0} }]
+[2024-03-10T12:48:42Z DEBUG candelabra::profiler::info] Costs by partitions: [("std::collections::BTreeMap", [2047920.193765012, 7246088.020165907, 10444316.555898897, 18598649.445747405, 1175639.9625833856, 0.0, 0.0]), ("std::collections::HashMap", [1140295.864966, 4028361.1861110907, 5799896.398899291, 10183667.80595235, 642709.1981023055, 500937466565.14984, 710580490054.3479])]
+[2024-03-10T12:48:42Z DEBUG candelabra::profiler::info] Top by partition: [("std::collections::HashMap", 1140295.864966), ("std::collections::HashMap", 4028361.1861110907), ("std::collections::HashMap", 5799896.398899291), ("std::collections::HashMap", 10183667.80595235), ("std::collections::HashMap", 642709.1981023055), ("std::collections::BTreeMap", 0.0), ("std::collections::BTreeMap", 0.0)]
+[2024-03-10T12:48:42Z DEBUG candelabra::profiler::info] With split index 5, split proper is true
+[2024-03-10T12:48:42Z DEBUG candelabra::profiler::info] Estimated switching cost: 0
+[2024-03-10T12:48:42Z DEBUG candelabra::profiler::info] Estimated not switching cost: 1211517956619.4978
+[2024-03-10T12:48:42Z DEBUG candelabra::profiler::info] Checking for nsplit
+[2024-03-10T12:48:42Z DEBUG candelabra::profiler::info] Partitions: [ProfilerPartition { occurences: 2.0, avg_n: 11494.0, avg_op_counts: {"push": 0.0, "remove": 0.0, "last": 0.0, "contains": 0.0, "get": 0.0, "pop": 0.0, "insert": 11565.0, "first": 0.0, "clear": 0.0, "nth": 0.0} }, ProfilerPartition { occurences: 7.0, avg_n: 11613.857142857143, avg_op_counts: {"first": 0.0, "last": 0.0, "clear": 0.0, "insert": 11670.999999999998, "push": 0.0, "remove": 0.0, "nth": 0.0, "contains": 0.0, "pop": 0.0, "get": 0.0} }, ProfilerPartition { occurences: 10.0, avg_n: 11699.8, avg_op_counts: {"last": 0.0, "contains": 0.0, "push": 0.0, "first": 0.0, "nth": 0.0, "get": 0.0, "insert": 11760.9, "remove": 0.0, "clear": 0.0, "pop": 0.0} }, ProfilerPartition { occurences: 16.0, avg_n: 12822.187499999998, avg_op_counts: {"insert": 12884.4375, "clear": 0.0, "contains": 0.0, "last": 0.0, "get": 0.0, "pop": 0.0, "first": 0.0, "nth": 0.0, "push": 0.0, "remove": 0.0} }, ProfilerPartition { occurences: 1.0, avg_n: 12952.0, avg_op_counts: {"insert": 13008.0, "get": 0.0, "nth": 0.0, "contains": 0.0, "push": 0.0, "pop": 0.0, "first": 0.0, "last": 0.0, "remove": 0.0, "clear": 0.0} }, ProfilerPartition { occurences: 35.0, avg_n: 1000000.0, avg_op_counts: {"nth": 0.0, "last": 0.0, "get": 4000000.0, "first": 0.0, "pop": 0.0, "contains": 0.0, "remove": 0.0, "clear": 0.0, "insert": 1685714.285714286, "push": 0.0} }, ProfilerPartition { occurences: 29.0, avg_n: 1210000.0, avg_op_counts: {"get": 4840000.0, "last": 0.0, "first": 0.0, "remove": 0.0, "clear": 0.0, "insert": 1961034.4827586208, "push": 0.0, "contains": 0.0, "pop": 0.0, "nth": 0.0} }]
+[2024-03-10T12:48:42Z DEBUG candelabra::profiler::info] Costs by partitions: [("std::collections::HashMap", [1140295.864966, 4028361.1861110907, 5799896.398899291, 10183667.80595235, 642709.1981023055, 500937466565.14984, 710580490054.3479]), ("std::collections::BTreeMap", [2047920.193765012, 7246088.020165907, 10444316.555898897, 18598649.445747405, 1175639.9625833856, 0.0, 0.0])]
+[2024-03-10T12:48:42Z DEBUG candelabra::profiler::info] Top by partition: [("std::collections::HashMap", 1140295.864966), ("std::collections::HashMap", 4028361.1861110907), ("std::collections::HashMap", 5799896.398899291), ("std::collections::HashMap", 10183667.80595235), ("std::collections::HashMap", 642709.1981023055), ("std::collections::BTreeMap", 0.0), ("std::collections::BTreeMap", 0.0)]
+[2024-03-10T12:48:42Z DEBUG candelabra::profiler::info] With split index 5, split proper is true
+[2024-03-10T12:48:42Z DEBUG candelabra::profiler::info] Estimated switching cost: 0
+[2024-03-10T12:48:42Z DEBUG candelabra::profiler::info] Estimated not switching cost: 1211517956619.4978
+[2024-03-10T12:48:42Z DEBUG candelabra::confirmation] Saving choices for project aoc_2022_08
+[2024-03-10T12:48:42Z DEBUG candelabra::confirmation] Saving choices for /opt/candelabra/src/tests/aoc_2022_08/src/types.pr.rs
+[2024-03-10T12:48:42Z DEBUG primrose::selector] Setting up directories
+[2024-03-10T12:48:42Z DEBUG primrose::selector] Parsing into blocks
+[2024-03-10T12:48:42Z DEBUG primrose::selector] Running type checker
+[2024-03-10T12:48:42Z DEBUG primrose::selector] Running analysis
+[2024-03-10T12:48:42Z DEBUG primrose::library_specs] Ignoring invalid library module /nix/store/1vjbjqp60xw852rp1r7zdw6i6xcmja7j-source/crates/library/src/adaptive.rs
+[2024-03-10T12:48:42Z DEBUG primrose::library_specs] Ignoring invalid library module /nix/store/1vjbjqp60xw852rp1r7zdw6i6xcmja7j-source/crates/library/src/profiler.rs
+[2024-03-10T12:48:42Z DEBUG primrose::library_specs] Ignoring invalid library module /nix/store/1vjbjqp60xw852rp1r7zdw6i6xcmja7j-source/crates/library/src/traits.rs
+[2024-03-10T12:48:42Z INFO candelabra_cli::select] Saved best choices
+[2024-03-10T12:48:42Z INFO candelabra_cli::select] Running benchmarks with {("/opt/candelabra/src/tests/aoc_2022_08/src/types.pr.rs", "Map"): std::collections::BTreeMap}
+[2024-03-10T12:48:42Z DEBUG candelabra::confirmation] Saving choices for project aoc_2022_08
+[2024-03-10T12:48:42Z DEBUG candelabra::confirmation] Saving choices for /opt/candelabra/src/tests/aoc_2022_08/src/types.pr.rs
+[2024-03-10T12:48:42Z DEBUG primrose::selector] Setting up directories
+[2024-03-10T12:48:42Z DEBUG primrose::selector] Parsing into blocks
+[2024-03-10T12:48:42Z DEBUG primrose::selector] Running type checker
+[2024-03-10T12:48:42Z DEBUG primrose::selector] Running analysis
+[2024-03-10T12:48:42Z DEBUG primrose::library_specs] Ignoring invalid library module /nix/store/1vjbjqp60xw852rp1r7zdw6i6xcmja7j-source/crates/library/src/adaptive.rs
+[2024-03-10T12:48:42Z DEBUG primrose::library_specs] Ignoring invalid library module /nix/store/1vjbjqp60xw852rp1r7zdw6i6xcmja7j-source/crates/library/src/profiler.rs
+[2024-03-10T12:48:42Z DEBUG primrose::library_specs] Ignoring invalid library module /nix/store/1vjbjqp60xw852rp1r7zdw6i6xcmja7j-source/crates/library/src/traits.rs
+ Compiling aoc_2022_08 v0.1.0 (/opt/candelabra/src/tests/aoc_2022_08)
+ Finished bench [optimized] target(s) in 3.17s
+ Running benches/main.rs (/opt/candelabra/src/tests/target/release/deps/main-d6c2837aae431d80)
+[2024-03-10T12:50:11Z INFO candelabra_cli::select] Running benchmarks with {("/opt/candelabra/src/tests/aoc_2022_08/src/types.pr.rs", "Map"): std::collections::HashMap}
+[2024-03-10T12:50:11Z DEBUG candelabra::confirmation] Saving choices for project aoc_2022_08
+[2024-03-10T12:50:11Z DEBUG candelabra::confirmation] Saving choices for /opt/candelabra/src/tests/aoc_2022_08/src/types.pr.rs
+[2024-03-10T12:50:11Z DEBUG primrose::selector] Setting up directories
+[2024-03-10T12:50:11Z DEBUG primrose::selector] Parsing into blocks
+[2024-03-10T12:50:11Z DEBUG primrose::selector] Running type checker
+[2024-03-10T12:50:11Z DEBUG primrose::selector] Running analysis
+[2024-03-10T12:50:11Z DEBUG primrose::library_specs] Ignoring invalid library module /nix/store/1vjbjqp60xw852rp1r7zdw6i6xcmja7j-source/crates/library/src/adaptive.rs
+[2024-03-10T12:50:11Z DEBUG primrose::library_specs] Ignoring invalid library module /nix/store/1vjbjqp60xw852rp1r7zdw6i6xcmja7j-source/crates/library/src/profiler.rs
+[2024-03-10T12:50:11Z DEBUG primrose::library_specs] Ignoring invalid library module /nix/store/1vjbjqp60xw852rp1r7zdw6i6xcmja7j-source/crates/library/src/traits.rs
+ Compiling aoc_2022_08 v0.1.0 (/opt/candelabra/src/tests/aoc_2022_08)
+ Finished bench [optimized] target(s) in 3.00s
+ Running benches/main.rs (/opt/candelabra/src/tests/target/release/deps/main-d6c2837aae431d80)
+[2024-03-10T12:51:21Z INFO candelabra_cli::select] Running benchmarks with {("/opt/candelabra/src/tests/aoc_2022_08/src/types.pr.rs", "Map"): std::collections::HashMap until n=1000000, then std::collections::BTreeMap}
+[2024-03-10T12:51:21Z DEBUG candelabra::confirmation] Saving choices for project aoc_2022_08
+[2024-03-10T12:51:21Z DEBUG candelabra::confirmation] Saving choices for /opt/candelabra/src/tests/aoc_2022_08/src/types.pr.rs
+[2024-03-10T12:51:21Z DEBUG primrose::selector] Setting up directories
+[2024-03-10T12:51:21Z DEBUG primrose::selector] Parsing into blocks
+[2024-03-10T12:51:21Z DEBUG primrose::selector] Running type checker
+[2024-03-10T12:51:21Z DEBUG primrose::selector] Running analysis
+[2024-03-10T12:51:21Z DEBUG primrose::library_specs] Ignoring invalid library module /nix/store/1vjbjqp60xw852rp1r7zdw6i6xcmja7j-source/crates/library/src/adaptive.rs
+[2024-03-10T12:51:21Z DEBUG primrose::library_specs] Ignoring invalid library module /nix/store/1vjbjqp60xw852rp1r7zdw6i6xcmja7j-source/crates/library/src/profiler.rs
+[2024-03-10T12:51:21Z DEBUG primrose::library_specs] Ignoring invalid library module /nix/store/1vjbjqp60xw852rp1r7zdw6i6xcmja7j-source/crates/library/src/traits.rs
+ Compiling aoc_2022_08 v0.1.0 (/opt/candelabra/src/tests/aoc_2022_08)
+ Finished bench [optimized] target(s) in 3.72s
+ Running benches/main.rs (/opt/candelabra/src/tests/target/release/deps/main-d6c2837aae431d80)
+┌────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┬──────────────────────────┬──────────────────────────┬──────────────────────────┬──────────────────────────┐
+│ assignment │ aoc_2022_08-part2/1000 │ aoc_2022_08-part2/1100 │ aoc_2022_08-part1/1100 │ aoc_2022_08-part1/1000 │
+├────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┼──────────────────────────┼──────────────────────────┼──────────────────────────┼──────────────────────────┤
+│ {("/opt/candelabra/src/tests/aoc_2022_08/src/types.pr.rs", "Map"): std::collections::BTreeMap} │ 1691900000.0 │ 2086100000.0 │ 656290000.0 │ 516390000.0 │
+│ {("/opt/candelabra/src/tests/aoc_2022_08/src/types.pr.rs", "Map"): std::collections::HashMap} │ 1207600000.0 │ 1446200000.0 │ 465430000.0 │ 377530000.0 │
+│ {("/opt/candelabra/src/tests/aoc_2022_08/src/types.pr.rs", "Map"): std::collections::HashMap until n=1000000, then std::collections::BTreeMap} │ 1585500000.0 │ 1981900000.0 │ 640390000.0 │ 491890000.0 │
+└────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┴──────────────────────────┴──────────────────────────┴──────────────────────────┴──────────────────────────┘
+\begin{center}
+\begin{tabular}{|c|c|c|c|c|}
+assignment & aoc\_2022\_08-part2/1000 & aoc\_2022\_08-part2/1100 & aoc\_2022\_08-part1/1100 & aoc\_2022\_08-part1/1000 \\
+\hline
+\{("/opt/candelabra/src/tests/aoc\_2022\_08/src/types.pr.rs", "Map"): std::collections::BTreeMap\} & 1691900000.0 & 2086100000.0 & 656290000.0 & 516390000.0 \\
+\{("/opt/candelabra/src/tests/aoc\_2022\_08/src/types.pr.rs", "Map"): std::collections::HashMap\} & 1207600000.0 & 1446200000.0 & 465430000.0 & 377530000.0 \\
+\{("/opt/candelabra/src/tests/aoc\_2022\_08/src/types.pr.rs", "Map"): std::collections::HashMap until n=1000000, then std::collections::BTreeMap\} & 1585500000.0 & 1981900000.0 & 640390000.0 & 491890000.0 \\
+\end{tabular}
+\end{center}
+section_end:1710075175:compare-aoc_2022_08
+
+ \ No newline at end of file