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
|
:1710097435: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-10T19:03:55Z INFO candelabra_cli] Using source dir: "/nix/store/arg3vck84cg7ah84s37qjc2qshavq5yx-source"
[2024-03-10T19:03:55Z DEBUG candelabra::candidates] Initialised candidate cacher with hash 10402570600929242768
[2024-03-10T19:03:55Z DEBUG primrose::library_specs] Failed to process library module /nix/store/arg3vck84cg7ah84s37qjc2qshavq5yx-source/crates/library/src/adaptive.rs. Continuing anyway.
[2024-03-10T19:03:55Z DEBUG primrose::library_specs] Failed to process library module /nix/store/arg3vck84cg7ah84s37qjc2qshavq5yx-source/crates/library/src/profiler.rs. Continuing anyway.
[2024-03-10T19:03:55Z DEBUG primrose::library_specs] Failed to process library module /nix/store/arg3vck84cg7ah84s37qjc2qshavq5yx-source/crates/library/src/traits.rs. Continuing anyway.
[2024-03-10T19:03:55Z DEBUG candelabra::cost] Initialised benchmark cacher with hash 10402570600929242768
[2024-03-10T19:03:55Z INFO candelabra_cli::select] Processing project aoc_2022_08
[2024-03-10T19:03:55Z DEBUG candelabra::cache] Invalid cache entry: validation function said no
[2024-03-10T19:03:55Z INFO candelabra::profiler] Setting up /opt/candelabra/src/tests/aoc_2022_08/src/types.pr.rs for profiling
[2024-03-10T19:03:55Z DEBUG primrose::selector] Setting up directories
[2024-03-10T19:03:55Z DEBUG primrose::selector] Parsing into blocks
[2024-03-10T19:03:55Z DEBUG primrose::selector] Running type checker
[2024-03-10T19:03:55Z DEBUG primrose::selector] Running analysis
[2024-03-10T19:03:55Z DEBUG primrose::library_specs] Ignoring invalid library module /nix/store/arg3vck84cg7ah84s37qjc2qshavq5yx-source/crates/library/src/adaptive.rs
[2024-03-10T19:03:55Z DEBUG primrose::library_specs] Ignoring invalid library module /nix/store/arg3vck84cg7ah84s37qjc2qshavq5yx-source/crates/library/src/profiler.rs
[2024-03-10T19:03:55Z DEBUG primrose::library_specs] Ignoring invalid library module /nix/store/arg3vck84cg7ah84s37qjc2qshavq5yx-source/crates/library/src/traits.rs
[2024-03-10T19:03:55Z INFO candelabra::profiler] Running benchmark main with out dir TempDir { path: "/tmp/.tmpJpU3wZ" }
Compiling aoc_2022_08 v0.1.0 (/opt/candelabra/src/tests/aoc_2022_08)
Finished bench [optimized] target(s) in 3.20s
Running benches/main.rs (/opt/candelabra/src/tests/target/release/deps/main-d6c2837aae431d80)
┌──────┬────────────────────────────┬────────────────────┬───────────────────────────────────────────────────────┐
│ name │ implementation │ estimated cost │ file │
├──────┼────────────────────────────┼────────────────────┼───────────────────────────────────────────────────────┤
│ Map │ std::collections::BTreeMap │ 20205288248.433594 │ /opt/candelabra/src/tests/aoc_2022_08/src/types.pr.rs │
│ Map │ std::collections::HashMap │ 10638226262.095575 │ /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 & 20205288248.433594 & /opt/candelabra/src/tests/aoc\_2022\_08/src/types.pr.rs \\
Map & std::collections::HashMap & 10638226262.095575 & /opt/candelabra/src/tests/aoc\_2022\_08/src/types.pr.rs \\
\end{tabular}
\end{center}
[2024-03-10T19:04:59Z DEBUG candelabra::profiler::info] Checking for nsplit
[2024-03-10T19:04:59Z DEBUG candelabra::profiler::info] Partitions: [ProfilerPartition { occurences: 3068.0, avg_n: 1109.940677966102, avg_op_counts: {"contains": 0.0, "remove": 0.0, "pop": 0.0, "get": 0.0, "push": 0.0, "clear": 0.0, "nth": 0.0, "last": 0.0, "insert": 1171.8223598435486, "first": 0.0} }, ProfilerPartition { occurences: 843.0, avg_n: 2280.3274021352327, avg_op_counts: {"remove": 0.0, "nth": 0.0, "push": 0.0, "pop": 0.0, "contains": 0.0, "first": 0.0, "last": 0.0, "get": 0.0, "clear": 0.0, "insert": 2342.4306049822058} }, ProfilerPartition { occurences: 6006.0, avg_n: 10000.0, avg_op_counts: {"last": 0.0, "pop": 0.0, "nth": 0.0, "contains": 0.0, "clear": 0.0, "first": 0.0, "get": 40000.0, "remove": 0.0, "push": 0.0, "insert": 17337.662337662307} }, ProfilerPartition { occurences: 1459.0, avg_n: 40000.0, avg_op_counts: {"insert": 65332.419465387095, "first": 0.0, "clear": 0.0, "contains": 0.0, "remove": 0.0, "get": 160000.0, "push": 0.0, "last": 0.0, "pop": 0.0, "nth": 0.0} }]
[2024-03-10T19:04:59Z DEBUG candelabra::profiler::info] Costs by partitions: [("std::collections::BTreeMap", [241359634.20360202, 141980419.55658, 9011320837.89107, 10810627356.782343]), ("std::collections::HashMap", [163455439.87481636, 92953391.13452674, 5121036644.751657, 5260780786.334576])]
[2024-03-10T19:04:59Z DEBUG candelabra::profiler::info] Top by partition: [("std::collections::HashMap", 163455439.87481636), ("std::collections::HashMap", 92953391.13452674), ("std::collections::HashMap", 5121036644.751657), ("std::collections::HashMap", 5260780786.334576)]
[2024-03-10T19:04:59Z DEBUG candelabra::profiler::info] Checking for nsplit
[2024-03-10T19:04:59Z DEBUG candelabra::profiler::info] Partitions: [ProfilerPartition { occurences: 3068.0, avg_n: 1109.940677966102, avg_op_counts: {"contains": 0.0, "last": 0.0, "remove": 0.0, "pop": 0.0, "insert": 1171.8223598435486, "first": 0.0, "nth": 0.0, "get": 0.0, "push": 0.0, "clear": 0.0} }, ProfilerPartition { occurences: 843.0, avg_n: 2280.3274021352327, avg_op_counts: {"remove": 0.0, "nth": 0.0, "push": 0.0, "get": 0.0, "last": 0.0, "contains": 0.0, "pop": 0.0, "first": 0.0, "insert": 2342.4306049822058, "clear": 0.0} }, ProfilerPartition { occurences: 6006.0, avg_n: 10000.0, avg_op_counts: {"insert": 17337.662337662307, "last": 0.0, "remove": 0.0, "first": 0.0, "nth": 0.0, "clear": 0.0, "contains": 0.0, "push": 0.0, "get": 40000.0, "pop": 0.0} }, ProfilerPartition { occurences: 1459.0, avg_n: 40000.0, avg_op_counts: {"nth": 0.0, "contains": 0.0, "pop": 0.0, "insert": 65332.419465387095, "last": 0.0, "clear": 0.0, "get": 160000.0, "remove": 0.0, "first": 0.0, "push": 0.0} }]
[2024-03-10T19:04:59Z DEBUG candelabra::profiler::info] Costs by partitions: [("std::collections::HashMap", [163455439.87481636, 92953391.13452674, 5121036644.751657, 5260780786.334576]), ("std::collections::BTreeMap", [241359634.20360202, 141980419.55658, 9011320837.89107, 10810627356.782343])]
[2024-03-10T19:04:59Z DEBUG candelabra::profiler::info] Top by partition: [("std::collections::HashMap", 163455439.87481636), ("std::collections::HashMap", 92953391.13452674), ("std::collections::HashMap", 5121036644.751657), ("std::collections::HashMap", 5260780786.334576)]
[2024-03-10T19:04:59Z DEBUG candelabra::confirmation] Saving choices for project aoc_2022_08
[2024-03-10T19:04:59Z DEBUG candelabra::confirmation] Saving choices for /opt/candelabra/src/tests/aoc_2022_08/src/types.pr.rs
[2024-03-10T19:04:59Z DEBUG primrose::selector] Setting up directories
[2024-03-10T19:04:59Z DEBUG primrose::selector] Parsing into blocks
[2024-03-10T19:04:59Z DEBUG primrose::selector] Running type checker
[2024-03-10T19:04:59Z DEBUG primrose::selector] Running analysis
[2024-03-10T19:04:59Z DEBUG primrose::library_specs] Ignoring invalid library module /nix/store/arg3vck84cg7ah84s37qjc2qshavq5yx-source/crates/library/src/adaptive.rs
[2024-03-10T19:04:59Z DEBUG primrose::library_specs] Ignoring invalid library module /nix/store/arg3vck84cg7ah84s37qjc2qshavq5yx-source/crates/library/src/profiler.rs
[2024-03-10T19:04:59Z DEBUG primrose::library_specs] Ignoring invalid library module /nix/store/arg3vck84cg7ah84s37qjc2qshavq5yx-source/crates/library/src/traits.rs
[2024-03-10T19:04:59Z INFO candelabra_cli::select] Saved best choices
[2024-03-10T19:04:59Z INFO candelabra_cli::select] Running benchmarks with {("/opt/candelabra/src/tests/aoc_2022_08/src/types.pr.rs", "Map"): std::collections::BTreeMap}
[2024-03-10T19:04:59Z DEBUG candelabra::confirmation] Saving choices for project aoc_2022_08
[2024-03-10T19:04:59Z DEBUG candelabra::confirmation] Saving choices for /opt/candelabra/src/tests/aoc_2022_08/src/types.pr.rs
[2024-03-10T19:04:59Z DEBUG primrose::selector] Setting up directories
[2024-03-10T19:04:59Z DEBUG primrose::selector] Parsing into blocks
[2024-03-10T19:04:59Z DEBUG primrose::selector] Running type checker
[2024-03-10T19:04:59Z DEBUG primrose::selector] Running analysis
[2024-03-10T19:04:59Z DEBUG primrose::library_specs] Ignoring invalid library module /nix/store/arg3vck84cg7ah84s37qjc2qshavq5yx-source/crates/library/src/adaptive.rs
[2024-03-10T19:04:59Z DEBUG primrose::library_specs] Ignoring invalid library module /nix/store/arg3vck84cg7ah84s37qjc2qshavq5yx-source/crates/library/src/profiler.rs
[2024-03-10T19:04:59Z DEBUG primrose::library_specs] Ignoring invalid library module /nix/store/arg3vck84cg7ah84s37qjc2qshavq5yx-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.32s
Running benches/main.rs (/opt/candelabra/src/tests/target/release/deps/main-d6c2837aae431d80)
[2024-03-10T19:05:49Z INFO candelabra_cli::select] Running benchmarks with {("/opt/candelabra/src/tests/aoc_2022_08/src/types.pr.rs", "Map"): std::collections::HashMap}
[2024-03-10T19:05:49Z DEBUG candelabra::confirmation] Saving choices for project aoc_2022_08
[2024-03-10T19:05:49Z DEBUG candelabra::confirmation] Saving choices for /opt/candelabra/src/tests/aoc_2022_08/src/types.pr.rs
[2024-03-10T19:05:49Z DEBUG primrose::selector] Setting up directories
[2024-03-10T19:05:49Z DEBUG primrose::selector] Parsing into blocks
[2024-03-10T19:05:49Z DEBUG primrose::selector] Running type checker
[2024-03-10T19:05:49Z DEBUG primrose::selector] Running analysis
[2024-03-10T19:05:49Z DEBUG primrose::library_specs] Ignoring invalid library module /nix/store/arg3vck84cg7ah84s37qjc2qshavq5yx-source/crates/library/src/adaptive.rs
[2024-03-10T19:05:49Z DEBUG primrose::library_specs] Ignoring invalid library module /nix/store/arg3vck84cg7ah84s37qjc2qshavq5yx-source/crates/library/src/profiler.rs
[2024-03-10T19:05:49Z DEBUG primrose::library_specs] Ignoring invalid library module /nix/store/arg3vck84cg7ah84s37qjc2qshavq5yx-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.64s
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"): std::collections::HashMap} │ 1249400 │ 5844400 │ 4224900 │ 19006000 │ 30324700 │
│ {("/opt/candelabra/src/tests/aoc_2022_08/src/types.pr.rs", "Map"): std::collections::BTreeMap} │ 2761300 │ 12448000 │ 8808600 │ 42071000 │ 66088900 │
└────────────────────────────────────────────────────────────────────────────────────────────────┴───────────────────────┴───────────────────────┴───────────────────────┴───────────────────────┴──────────┘
\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"): std::collections::HashMap\} & 1249400 & 5844400 & 4224900 & 19006000 & 30324700 \\
\{("/opt/candelabra/src/tests/aoc\_2022\_08/src/types.pr.rs", "Map"): std::collections::BTreeMap\} & 2761300 & 12448000 & 8808600 & 42071000 & 66088900 \\
\end{tabular}
\end{center}
[0Ksection_end:1710097599:compare-aoc_2022_08
[0K
|