1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
|
:1711759572:compare-aoc_2022_08
[0Kcompare-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-30T00:46:12Z INFO candelabra_cli] Using source dir: "/nix/store/n9bab5lfpka22cpsfrvdsg454dn0kkdn-source"
[2024-03-30T00:46:12Z DEBUG candelabra::candidates] Initialised candidate cacher with hash 6543311679163142612
[2024-03-30T00:46:12Z DEBUG primrose::library_specs] Failed to process library module /nix/store/n9bab5lfpka22cpsfrvdsg454dn0kkdn-source/crates/library/src/adaptive.rs. Continuing anyway.
[2024-03-30T00:46:12Z DEBUG primrose::library_specs] Failed to process library module /nix/store/n9bab5lfpka22cpsfrvdsg454dn0kkdn-source/crates/library/src/profiler.rs. Continuing anyway.
[2024-03-30T00:46:12Z DEBUG primrose::library_specs] Failed to process library module /nix/store/n9bab5lfpka22cpsfrvdsg454dn0kkdn-source/crates/library/src/traits.rs. Continuing anyway.
[2024-03-30T00:46:12Z DEBUG candelabra::cost] Initialised benchmark cacher with hash 6543311679163142612
[2024-03-30T00:46:12Z INFO candelabra_cli::select] Processing project aoc_2022_08
┌──────┬─────────────────────────────────────────────────────────────────────────────┬───────────────────┬───────────────────────────────────────────────────────┐
│ name │ implementation │ estimated cost │ file │
├──────┼─────────────────────────────────────────────────────────────────────────────┼───────────────────┼───────────────────────────────────────────────────────┤
│ Map │ primrose_library::VecMap │ 5370239202261.842 │ /opt/candelabra/src/tests/aoc_2022_08/src/types.pr.rs │
│ Map │ std::collections::HashMap │ 58801682552.86513 │ /opt/candelabra/src/tests/aoc_2022_08/src/types.pr.rs │
│ Map │ primrose_library::SortedVecMap │ 817568543716.7662 │ /opt/candelabra/src/tests/aoc_2022_08/src/types.pr.rs │
│ Map │ std::collections::BTreeMap │ 97743683189.22581 │ /opt/candelabra/src/tests/aoc_2022_08/src/types.pr.rs │
│ Map │ primrose_library::SortedVecMap until n=1664, then std::collections::HashMap │ 58753133105.11505 │ /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 & primrose\_library::VecMap & 5370239202261.842 & /opt/candelabra/src/tests/aoc\_2022\_08/src/types.pr.rs \\
Map & std::collections::HashMap & 58801682552.86513 & /opt/candelabra/src/tests/aoc\_2022\_08/src/types.pr.rs \\
Map & primrose\_library::SortedVecMap & 817568543716.7662 & /opt/candelabra/src/tests/aoc\_2022\_08/src/types.pr.rs \\
Map & std::collections::BTreeMap & 97743683189.22581 & /opt/candelabra/src/tests/aoc\_2022\_08/src/types.pr.rs \\
Map & primrose\_library::SortedVecMap until n=1664, then std::collections::HashMap & 58753133105.11505 & /opt/candelabra/src/tests/aoc\_2022\_08/src/types.pr.rs \\
\end{tabular}
\end{center}
[2024-03-30T00:46:12Z DEBUG candelabra::profiler::info] Checking for nsplit
[2024-03-30T00:46:12Z DEBUG candelabra::profiler::info] Partitions: [ProfilerPartition { occurences: 3068.0, avg_n: 1109.940677966102, avg_op_counts: {"nth": 0.0, "clear": 0.0, "remove": 0.0, "push": 0.0, "contains": 0.0, "pop": 0.0, "last": 0.0, "insert": 1171.8223598435486, "first": 0.0, "get": 0.0} }, ProfilerPartition { occurences: 843.0, avg_n: 2280.3274021352327, avg_op_counts: {"last": 0.0, "first": 0.0, "remove": 0.0, "push": 0.0, "pop": 0.0, "contains": 0.0, "get": 0.0, "nth": 0.0, "insert": 2342.4306049822058, "clear": 0.0} }, ProfilerPartition { occurences: 6006.0, avg_n: 10000.0, avg_op_counts: {"get": 40000.0, "insert": 17337.662337662307, "pop": 0.0, "nth": 0.0, "push": 0.0, "first": 0.0, "contains": 0.0, "clear": 0.0, "remove": 0.0, "last": 0.0} }, ProfilerPartition { occurences: 1459.0, avg_n: 40000.0, avg_op_counts: {"last": 0.0, "push": 0.0, "pop": 0.0, "nth": 0.0, "get": 160000.0, "contains": 0.0, "first": 0.0, "clear": 0.0, "remove": 0.0, "insert": 65332.419465387095} }]
[2024-03-30T00:46:12Z DEBUG candelabra::profiler::info] Costs by partitions: [("std::collections::BTreeMap", [243771266.12669298, 144167265.9551254, 41889093973.05683, 55466650684.08716]), ("primrose_library::SortedVecMap", [106503888.78428955, 304002821.766236, 150668569846.44977, 666489467159.7659]), ("std::collections::HashMap", [155125559.59443495, 85993346.85778749, 26043262882.78633, 32517300763.626575]), ("primrose_library::VecMap", [441364776.560104, 771010654.5027164, 1030863412703.228, 4338163414127.551])]
[2024-03-30T00:46:12Z DEBUG candelabra::profiler::info] Top by partition: [("primrose_library::SortedVecMap", 106503888.78428955), ("std::collections::HashMap", 85993346.85778749), ("std::collections::HashMap", 26043262882.78633), ("std::collections::HashMap", 32517300763.626575)]
[2024-03-30T00:46:12Z DEBUG candelabra::profiler::info] With split index 1, split proper is true
[2024-03-30T00:46:12Z DEBUG candelabra::profiler::info] Checking for nsplit
[2024-03-30T00:46:12Z DEBUG candelabra::profiler::info] Partitions: [ProfilerPartition { occurences: 3068.0, avg_n: 1109.940677966102, avg_op_counts: {"clear": 0.0, "contains": 0.0, "push": 0.0, "insert": 1171.8223598435486, "remove": 0.0, "pop": 0.0, "nth": 0.0, "last": 0.0, "first": 0.0, "get": 0.0} }, ProfilerPartition { occurences: 843.0, avg_n: 2280.3274021352327, avg_op_counts: {"contains": 0.0, "insert": 2342.4306049822058, "nth": 0.0, "remove": 0.0, "get": 0.0, "push": 0.0, "first": 0.0, "clear": 0.0, "pop": 0.0, "last": 0.0} }, ProfilerPartition { occurences: 6006.0, avg_n: 10000.0, avg_op_counts: {"contains": 0.0, "remove": 0.0, "clear": 0.0, "push": 0.0, "get": 40000.0, "nth": 0.0, "pop": 0.0, "first": 0.0, "insert": 17337.662337662307, "last": 0.0} }, ProfilerPartition { occurences: 1459.0, avg_n: 40000.0, avg_op_counts: {"remove": 0.0, "last": 0.0, "first": 0.0, "insert": 65332.419465387095, "clear": 0.0, "get": 160000.0, "push": 0.0, "pop": 0.0, "contains": 0.0, "nth": 0.0} }]
[2024-03-30T00:46:12Z DEBUG candelabra::profiler::info] Costs by partitions: [("std::collections::HashMap", [155125559.59443495, 85993346.85778749, 26043262882.78633, 32517300763.626575]), ("primrose_library::VecMap", [441364776.560104, 771010654.5027164, 1030863412703.228, 4338163414127.551]), ("primrose_library::SortedVecMap", [106503888.78428955, 304002821.766236, 150668569846.44977, 666489467159.7659]), ("std::collections::BTreeMap", [243771266.12669298, 144167265.9551254, 41889093973.05683, 55466650684.08716])]
[2024-03-30T00:46:12Z DEBUG candelabra::profiler::info] Top by partition: [("primrose_library::SortedVecMap", 106503888.78428955), ("std::collections::HashMap", 85993346.85778749), ("std::collections::HashMap", 26043262882.78633), ("std::collections::HashMap", 32517300763.626575)]
[2024-03-30T00:46:12Z DEBUG candelabra::profiler::info] With split index 1, split proper is true
[2024-03-30T00:46:12Z DEBUG candelabra::confirmation] Saving choices for project aoc_2022_08
[2024-03-30T00:46:12Z DEBUG candelabra::confirmation] Saving choices for /opt/candelabra/src/tests/aoc_2022_08/src/types.pr.rs
[2024-03-30T00:46:12Z DEBUG primrose::selector] Setting up directories
[2024-03-30T00:46:12Z DEBUG primrose::selector] Parsing into blocks
[2024-03-30T00:46:12Z DEBUG primrose::selector] Running type checker
[2024-03-30T00:46:12Z DEBUG primrose::selector] Running analysis
[2024-03-30T00:46:12Z DEBUG primrose::library_specs] Ignoring invalid library module /nix/store/n9bab5lfpka22cpsfrvdsg454dn0kkdn-source/crates/library/src/adaptive.rs
[2024-03-30T00:46:12Z DEBUG primrose::library_specs] Ignoring invalid library module /nix/store/n9bab5lfpka22cpsfrvdsg454dn0kkdn-source/crates/library/src/profiler.rs
[2024-03-30T00:46:12Z DEBUG primrose::library_specs] Ignoring invalid library module /nix/store/n9bab5lfpka22cpsfrvdsg454dn0kkdn-source/crates/library/src/traits.rs
[2024-03-30T00:46:12Z INFO candelabra_cli::select] Saved best choices
[2024-03-30T00:46:12Z INFO candelabra_cli::select] Running benchmarks with {("/opt/candelabra/src/tests/aoc_2022_08/src/types.pr.rs", "Map"): primrose_library::VecMap}
[2024-03-30T00:46:12Z DEBUG candelabra::confirmation] Saving choices for project aoc_2022_08
[2024-03-30T00:46:12Z DEBUG candelabra::confirmation] Saving choices for /opt/candelabra/src/tests/aoc_2022_08/src/types.pr.rs
[2024-03-30T00:46:12Z DEBUG primrose::selector] Setting up directories
[2024-03-30T00:46:13Z DEBUG primrose::selector] Parsing into blocks
[2024-03-30T00:46:13Z DEBUG primrose::selector] Running type checker
[2024-03-30T00:46:13Z DEBUG primrose::selector] Running analysis
[2024-03-30T00:46:13Z DEBUG primrose::library_specs] Ignoring invalid library module /nix/store/n9bab5lfpka22cpsfrvdsg454dn0kkdn-source/crates/library/src/adaptive.rs
[2024-03-30T00:46:13Z DEBUG primrose::library_specs] Ignoring invalid library module /nix/store/n9bab5lfpka22cpsfrvdsg454dn0kkdn-source/crates/library/src/profiler.rs
[2024-03-30T00:46:13Z DEBUG primrose::library_specs] Ignoring invalid library module /nix/store/n9bab5lfpka22cpsfrvdsg454dn0kkdn-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.11s
Running benches/main.rs (/opt/candelabra/src/tests/target/release/deps/main-d6c2837aae431d80)
[2024-03-30T00:49:14Z INFO candelabra_cli::select] Running benchmarks with {("/opt/candelabra/src/tests/aoc_2022_08/src/types.pr.rs", "Map"): std::collections::HashMap}
[2024-03-30T00:49:14Z DEBUG candelabra::confirmation] Saving choices for project aoc_2022_08
[2024-03-30T00:49:14Z DEBUG candelabra::confirmation] Saving choices for /opt/candelabra/src/tests/aoc_2022_08/src/types.pr.rs
[2024-03-30T00:49:14Z DEBUG primrose::selector] Setting up directories
[2024-03-30T00:49:15Z DEBUG primrose::selector] Parsing into blocks
[2024-03-30T00:49:15Z DEBUG primrose::selector] Running type checker
[2024-03-30T00:49:15Z DEBUG primrose::selector] Running analysis
[2024-03-30T00:49:15Z DEBUG primrose::library_specs] Ignoring invalid library module /nix/store/n9bab5lfpka22cpsfrvdsg454dn0kkdn-source/crates/library/src/adaptive.rs
[2024-03-30T00:49:15Z DEBUG primrose::library_specs] Ignoring invalid library module /nix/store/n9bab5lfpka22cpsfrvdsg454dn0kkdn-source/crates/library/src/profiler.rs
[2024-03-30T00:49:15Z DEBUG primrose::library_specs] Ignoring invalid library module /nix/store/n9bab5lfpka22cpsfrvdsg454dn0kkdn-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.46s
Running benches/main.rs (/opt/candelabra/src/tests/target/release/deps/main-d6c2837aae431d80)
[2024-03-30T00:50:04Z INFO candelabra_cli::select] Running benchmarks with {("/opt/candelabra/src/tests/aoc_2022_08/src/types.pr.rs", "Map"): primrose_library::SortedVecMap}
[2024-03-30T00:50:04Z DEBUG candelabra::confirmation] Saving choices for project aoc_2022_08
[2024-03-30T00:50:04Z DEBUG candelabra::confirmation] Saving choices for /opt/candelabra/src/tests/aoc_2022_08/src/types.pr.rs
[2024-03-30T00:50:04Z DEBUG primrose::selector] Setting up directories
[2024-03-30T00:50:04Z DEBUG primrose::selector] Parsing into blocks
[2024-03-30T00:50:04Z DEBUG primrose::selector] Running type checker
[2024-03-30T00:50:04Z DEBUG primrose::selector] Running analysis
[2024-03-30T00:50:04Z DEBUG primrose::library_specs] Ignoring invalid library module /nix/store/n9bab5lfpka22cpsfrvdsg454dn0kkdn-source/crates/library/src/adaptive.rs
[2024-03-30T00:50:04Z DEBUG primrose::library_specs] Ignoring invalid library module /nix/store/n9bab5lfpka22cpsfrvdsg454dn0kkdn-source/crates/library/src/profiler.rs
[2024-03-30T00:50:04Z DEBUG primrose::library_specs] Ignoring invalid library module /nix/store/n9bab5lfpka22cpsfrvdsg454dn0kkdn-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.22s
Running benches/main.rs (/opt/candelabra/src/tests/target/release/deps/main-d6c2837aae431d80)
[2024-03-30T00:50:54Z INFO candelabra_cli::select] Running benchmarks with {("/opt/candelabra/src/tests/aoc_2022_08/src/types.pr.rs", "Map"): std::collections::BTreeMap}
[2024-03-30T00:50:54Z DEBUG candelabra::confirmation] Saving choices for project aoc_2022_08
[2024-03-30T00:50:54Z DEBUG candelabra::confirmation] Saving choices for /opt/candelabra/src/tests/aoc_2022_08/src/types.pr.rs
[2024-03-30T00:50:54Z DEBUG primrose::selector] Setting up directories
[2024-03-30T00:50:54Z DEBUG primrose::selector] Parsing into blocks
[2024-03-30T00:50:54Z DEBUG primrose::selector] Running type checker
[2024-03-30T00:50:54Z DEBUG primrose::selector] Running analysis
[2024-03-30T00:50:54Z DEBUG primrose::library_specs] Ignoring invalid library module /nix/store/n9bab5lfpka22cpsfrvdsg454dn0kkdn-source/crates/library/src/adaptive.rs
[2024-03-30T00:50:54Z DEBUG primrose::library_specs] Ignoring invalid library module /nix/store/n9bab5lfpka22cpsfrvdsg454dn0kkdn-source/crates/library/src/profiler.rs
[2024-03-30T00:50:54Z DEBUG primrose::library_specs] Ignoring invalid library module /nix/store/n9bab5lfpka22cpsfrvdsg454dn0kkdn-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.19s
Running benches/main.rs (/opt/candelabra/src/tests/target/release/deps/main-d6c2837aae431d80)
[2024-03-30T00:51:41Z INFO candelabra_cli::select] Running benchmarks with {("/opt/candelabra/src/tests/aoc_2022_08/src/types.pr.rs", "Map"): primrose_library::SortedVecMap until n=1664, then std::collections::HashMap}
[2024-03-30T00:51:41Z DEBUG candelabra::confirmation] Saving choices for project aoc_2022_08
[2024-03-30T00:51:41Z DEBUG candelabra::confirmation] Saving choices for /opt/candelabra/src/tests/aoc_2022_08/src/types.pr.rs
[2024-03-30T00:51:41Z DEBUG primrose::selector] Setting up directories
[2024-03-30T00:51:41Z DEBUG primrose::selector] Parsing into blocks
[2024-03-30T00:51:41Z DEBUG primrose::selector] Running type checker
[2024-03-30T00:51:41Z DEBUG primrose::selector] Running analysis
[2024-03-30T00:51:41Z DEBUG primrose::library_specs] Ignoring invalid library module /nix/store/n9bab5lfpka22cpsfrvdsg454dn0kkdn-source/crates/library/src/adaptive.rs
[2024-03-30T00:51:41Z DEBUG primrose::library_specs] Ignoring invalid library module /nix/store/n9bab5lfpka22cpsfrvdsg454dn0kkdn-source/crates/library/src/profiler.rs
[2024-03-30T00:51:42Z DEBUG primrose::library_specs] Ignoring invalid library module /nix/store/n9bab5lfpka22cpsfrvdsg454dn0kkdn-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.93s
Running benches/main.rs (/opt/candelabra/src/tests/target/release/deps/main-d6c2837aae431d80)
┌─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┬───────────────────────┬───────────────────────┬───────────────────────┬───────────────────────┬─────────────┐
│ │ aoc_2022_08-part1/100 │ aoc_2022_08-part1/200 │ aoc_2022_08-part2/100 │ aoc_2022_08-part2/200 │ total │
├─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┼───────────────────────┼───────────────────────┼───────────────────────┼───────────────────────┼─────────────┤
│ {("/opt/candelabra/src/tests/aoc_2022_08/src/types.pr.rs", "Map"): primrose_library::SortedVecMap until n=1664, then std::collections::HashMap} │ 1747800 │ 6755900 │ 4806300 │ 20791000 │ 34101000 │
│ {("/opt/candelabra/src/tests/aoc_2022_08/src/types.pr.rs", "Map"): primrose_library::SortedVecMap} │ 4046400 │ 16506000 │ 10580000 │ 43934000 │ 75066400 │
│ {("/opt/candelabra/src/tests/aoc_2022_08/src/types.pr.rs", "Map"): primrose_library::VecMap} │ 113040000 │ 2324000000 │ 563720000 │ 9419600000 │ 12420360000 │
│ {("/opt/candelabra/src/tests/aoc_2022_08/src/types.pr.rs", "Map"): std::collections::HashMap} │ 1262900 │ 6563900 │ 4152800 │ 19650000 │ 31629600 │
│ {("/opt/candelabra/src/tests/aoc_2022_08/src/types.pr.rs", "Map"): std::collections::BTreeMap} │ 2961000 │ 12815000 │ 8966900 │ 43222000 │ 67964900 │
└─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┴───────────────────────┴───────────────────────┴───────────────────────┴───────────────────────┴─────────────┘
\begin{center}
\begin{tabular}{|c|c|c|c|c|c|}
& aoc\_2022\_08-part1/100 & aoc\_2022\_08-part1/200 & aoc\_2022\_08-part2/100 & aoc\_2022\_08-part2/200 & total \\
\hline
\{("/opt/candelabra/src/tests/aoc\_2022\_08/src/types.pr.rs", "Map"): primrose\_library::SortedVecMap until n=1664, then std::collections::HashMap\} & 1747800 & 6755900 & 4806300 & 20791000 & 34101000 \\
\{("/opt/candelabra/src/tests/aoc\_2022\_08/src/types.pr.rs", "Map"): primrose\_library::SortedVecMap\} & 4046400 & 16506000 & 10580000 & 43934000 & 75066400 \\
\{("/opt/candelabra/src/tests/aoc\_2022\_08/src/types.pr.rs", "Map"): primrose\_library::VecMap\} & 113040000 & 2324000000 & 563720000 & 9419600000 & 12420360000 \\
\{("/opt/candelabra/src/tests/aoc\_2022\_08/src/types.pr.rs", "Map"): std::collections::HashMap\} & 1262900 & 6563900 & 4152800 & 19650000 & 31629600 \\
\{("/opt/candelabra/src/tests/aoc\_2022\_08/src/types.pr.rs", "Map"): std::collections::BTreeMap\} & 2961000 & 12815000 & 8966900 & 43222000 & 67964900 \\
\end{tabular}
\end{center}
[0Ksection_end:1711759951:compare-aoc_2022_08
[0K
|