aboutsummaryrefslogtreecommitdiff
path: root/analysis/current/sections/compare-example_sets
blob: c69edc13750da592c292b9e45a4cd31949806dad (plain)
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
:1711760618:compare-example_sets
compare-example_sets
/run/current-system/sw/bin/candelabra-cli -l --manifest-path /opt/candelabra/src/tests/Cargo.toml -p example_sets select --compare
[2024-03-30T01:03:38Z INFO  candelabra_cli] Using source dir: "/nix/store/n9bab5lfpka22cpsfrvdsg454dn0kkdn-source"
[2024-03-30T01:03:38Z DEBUG candelabra::candidates] Initialised candidate cacher with hash 6543311679163142612
[2024-03-30T01:03:38Z DEBUG primrose::library_specs] Failed to process library module /nix/store/n9bab5lfpka22cpsfrvdsg454dn0kkdn-source/crates/library/src/adaptive.rs. Continuing anyway.
[2024-03-30T01:03:38Z DEBUG primrose::library_specs] Failed to process library module /nix/store/n9bab5lfpka22cpsfrvdsg454dn0kkdn-source/crates/library/src/profiler.rs. Continuing anyway.
[2024-03-30T01:03:38Z DEBUG primrose::library_specs] Failed to process library module /nix/store/n9bab5lfpka22cpsfrvdsg454dn0kkdn-source/crates/library/src/traits.rs. Continuing anyway.
[2024-03-30T01:03:38Z DEBUG candelabra::cost] Initialised benchmark cacher with hash 6543311679163142612
[2024-03-30T01:03:38Z INFO  candelabra_cli::select] Processing project example_sets
[2024-03-30T01:03:39Z DEBUG candelabra::profiler::info] Checking for nsplit
[2024-03-30T01:03:39Z DEBUG candelabra::profiler::info] Partitions: [ProfilerPartition { occurences: 69344.0, avg_n: 50.0, avg_op_counts: {"clear": 0.0, "contains": 100.0, "last": 0.0, "first": 0.0, "push": 0.0, "remove": 0.0, "nth": 0.0, "insert": 50.0, "get": 0.0, "pop": 0.0} }, ProfilerPartition { occurences: 41775.0, avg_n: 150.0, avg_op_counts: {"remove": 0.0, "first": 0.0, "nth": 0.0, "get": 0.0, "last": 0.0, "insert": 150.0, "pop": 0.0, "contains": 300.0, "push": 0.0, "clear": 0.0} }, ProfilerPartition { occurences: 4891.0, avg_n: 2500.0, avg_op_counts: {"nth": 0.0, "remove": 0.0, "last": 0.0, "contains": 5000.0, "pop": 0.0, "push": 0.0, "get": 0.0, "clear": 0.0, "insert": 2500.0, "first": 0.0} }, ProfilerPartition { occurences: 5973.0, avg_n: 7500.0, avg_op_counts: {"pop": 0.0, "clear": 0.0, "insert": 7500.0, "get": 0.0, "first": 0.0, "nth": 0.0, "push": 0.0, "last": 0.0, "remove": 0.0, "contains": 15000.0} }]
[2024-03-30T01:03:39Z DEBUG candelabra::profiler::info] Costs by partitions: [("std::collections::BTreeSet", [581630428.2607172, 1319325246.1831577, 3844072464.1425066, 15584185140.079044]), ("std::collections::HashSet", [467806452.2478616, 965178935.5062613, 2541474529.362616, 10626407373.651312])]
[2024-03-30T01:03:39Z DEBUG candelabra::profiler::info] Top by partition: [("std::collections::HashSet", 467806452.2478616), ("std::collections::HashSet", 965178935.5062613), ("std::collections::HashSet", 2541474529.362616), ("std::collections::HashSet", 10626407373.651312)]
┌──────┬────────────────────────────┬────────────────────┬────────────────────────────────────────────────────────┐
│ name │ implementation             │ estimated cost     │ file                                                   │
├──────┼────────────────────────────┼────────────────────┼────────────────────────────────────────────────────────┤
│ Set  │ std::collections::HashSet  │ 14600867290.768051 │ /opt/candelabra/src/tests/example_sets/src/types.pr.rs │
│ Set  │ std::collections::BTreeSet │ 21329213278.665424 │ /opt/candelabra/src/tests/example_sets/src/types.pr.rs │
└──────┴────────────────────────────┴────────────────────┴────────────────────────────────────────────────────────┘
\begin{center}
\begin{tabular}{|c|c|c|c|}
name & implementation & estimated cost & file \\
\hline
Set & std::collections::HashSet & 14600867290.768051 & /opt/candelabra/src/tests/example\_sets/src/types.pr.rs \\
Set & std::collections::BTreeSet & 21329213278.665424 & /opt/candelabra/src/tests/example\_sets/src/types.pr.rs \\
\end{tabular}
\end{center}
[2024-03-30T01:03:39Z DEBUG candelabra::profiler::info] Checking for nsplit
[2024-03-30T01:03:39Z DEBUG candelabra::profiler::info] Partitions: [ProfilerPartition { occurences: 69344.0, avg_n: 50.0, avg_op_counts: {"remove": 0.0, "clear": 0.0, "nth": 0.0, "pop": 0.0, "insert": 50.0, "get": 0.0, "first": 0.0, "contains": 100.0, "last": 0.0, "push": 0.0} }, ProfilerPartition { occurences: 41775.0, avg_n: 150.0, avg_op_counts: {"insert": 150.0, "remove": 0.0, "first": 0.0, "clear": 0.0, "pop": 0.0, "get": 0.0, "contains": 300.0, "last": 0.0, "nth": 0.0, "push": 0.0} }, ProfilerPartition { occurences: 4891.0, avg_n: 2500.0, avg_op_counts: {"get": 0.0, "first": 0.0, "contains": 5000.0, "pop": 0.0, "remove": 0.0, "clear": 0.0, "last": 0.0, "push": 0.0, "nth": 0.0, "insert": 2500.0} }, ProfilerPartition { occurences: 5973.0, avg_n: 7500.0, avg_op_counts: {"insert": 7500.0, "remove": 0.0, "first": 0.0, "get": 0.0, "contains": 15000.0, "push": 0.0, "clear": 0.0, "nth": 0.0, "last": 0.0, "pop": 0.0} }]
[2024-03-30T01:03:39Z DEBUG candelabra::profiler::info] Costs by partitions: [("std::collections::HashSet", [467806452.2478616, 965178935.5062613, 2541474529.362616, 10626407373.651312]), ("std::collections::BTreeSet", [581630428.2607172, 1319325246.1831577, 3844072464.1425066, 15584185140.079044])]
[2024-03-30T01:03:39Z DEBUG candelabra::profiler::info] Top by partition: [("std::collections::HashSet", 467806452.2478616), ("std::collections::HashSet", 965178935.5062613), ("std::collections::HashSet", 2541474529.362616), ("std::collections::HashSet", 10626407373.651312)]
[2024-03-30T01:03:39Z DEBUG candelabra::confirmation] Saving choices for project example_sets
[2024-03-30T01:03:39Z DEBUG candelabra::confirmation] Saving choices for /opt/candelabra/src/tests/example_sets/src/types.pr.rs
[2024-03-30T01:03:39Z DEBUG primrose::selector] Setting up directories
[2024-03-30T01:03:39Z DEBUG primrose::selector] Parsing into blocks
[2024-03-30T01:03:39Z DEBUG primrose::selector] Running type checker
[2024-03-30T01:03:39Z DEBUG primrose::selector] Running analysis
[2024-03-30T01:03:39Z DEBUG primrose::library_specs] Ignoring invalid library module /nix/store/n9bab5lfpka22cpsfrvdsg454dn0kkdn-source/crates/library/src/adaptive.rs
[2024-03-30T01:03:39Z DEBUG primrose::library_specs] Ignoring invalid library module /nix/store/n9bab5lfpka22cpsfrvdsg454dn0kkdn-source/crates/library/src/profiler.rs
[2024-03-30T01:03:39Z DEBUG primrose::library_specs] Ignoring invalid library module /nix/store/n9bab5lfpka22cpsfrvdsg454dn0kkdn-source/crates/library/src/traits.rs
[2024-03-30T01:03:39Z INFO  candelabra_cli::select] Saved best choices
[2024-03-30T01:03:39Z INFO  candelabra_cli::select] Running benchmarks with {("/opt/candelabra/src/tests/example_sets/src/types.pr.rs", "Set"): std::collections::HashSet}
[2024-03-30T01:03:39Z DEBUG candelabra::confirmation] Saving choices for project example_sets
[2024-03-30T01:03:39Z DEBUG candelabra::confirmation] Saving choices for /opt/candelabra/src/tests/example_sets/src/types.pr.rs
[2024-03-30T01:03:39Z DEBUG primrose::selector] Setting up directories
[2024-03-30T01:03:39Z DEBUG primrose::selector] Parsing into blocks
[2024-03-30T01:03:39Z DEBUG primrose::selector] Running type checker
[2024-03-30T01:03:39Z DEBUG primrose::selector] Running analysis
[2024-03-30T01:03:39Z DEBUG primrose::library_specs] Ignoring invalid library module /nix/store/n9bab5lfpka22cpsfrvdsg454dn0kkdn-source/crates/library/src/adaptive.rs
[2024-03-30T01:03:39Z DEBUG primrose::library_specs] Ignoring invalid library module /nix/store/n9bab5lfpka22cpsfrvdsg454dn0kkdn-source/crates/library/src/profiler.rs
[2024-03-30T01:03:39Z DEBUG primrose::library_specs] Ignoring invalid library module /nix/store/n9bab5lfpka22cpsfrvdsg454dn0kkdn-source/crates/library/src/traits.rs
   Compiling example_sets v0.1.0 (/opt/candelabra/src/tests/example_sets)
    Finished bench [optimized] target(s) in 2.96s
     Running benches/main.rs (/opt/candelabra/src/tests/target/release/deps/main-4274d8fe7defaf49)
[2024-03-30T01:04:27Z INFO  candelabra_cli::select] Running benchmarks with {("/opt/candelabra/src/tests/example_sets/src/types.pr.rs", "Set"): std::collections::BTreeSet}
[2024-03-30T01:04:27Z DEBUG candelabra::confirmation] Saving choices for project example_sets
[2024-03-30T01:04:27Z DEBUG candelabra::confirmation] Saving choices for /opt/candelabra/src/tests/example_sets/src/types.pr.rs
[2024-03-30T01:04:27Z DEBUG primrose::selector] Setting up directories
[2024-03-30T01:04:27Z DEBUG primrose::selector] Parsing into blocks
[2024-03-30T01:04:27Z DEBUG primrose::selector] Running type checker
[2024-03-30T01:04:27Z DEBUG primrose::selector] Running analysis
[2024-03-30T01:04:27Z DEBUG primrose::library_specs] Ignoring invalid library module /nix/store/n9bab5lfpka22cpsfrvdsg454dn0kkdn-source/crates/library/src/adaptive.rs
[2024-03-30T01:04:27Z DEBUG primrose::library_specs] Ignoring invalid library module /nix/store/n9bab5lfpka22cpsfrvdsg454dn0kkdn-source/crates/library/src/profiler.rs
[2024-03-30T01:04:27Z DEBUG primrose::library_specs] Ignoring invalid library module /nix/store/n9bab5lfpka22cpsfrvdsg454dn0kkdn-source/crates/library/src/traits.rs
   Compiling example_sets v0.1.0 (/opt/candelabra/src/tests/example_sets)
    Finished bench [optimized] target(s) in 2.91s
     Running benches/main.rs (/opt/candelabra/src/tests/target/release/deps/main-4274d8fe7defaf49)
┌─────────────────────────────────────────────────────────────────────────────────────────────────┬───────┬───────┬────────┬────────┬────────┬─────────┬────────┬───────────┐
│                                                                                                 │ l17   │ l18   │ l27    │ l28    │ l35    │ l39     │ l8     │ total     │
├─────────────────────────────────────────────────────────────────────────────────────────────────┼───────┼───────┼────────┼────────┼────────┼─────────┼────────┼───────────┤
│ {("/opt/candelabra/src/tests/example_sets/src/types.pr.rs", "Set"): std::collections::BTreeSet} │ 19808 │       │ 485220 │        │        │ 1657700 │ 5258.9 │ 2167986.9 │
│ {("/opt/candelabra/src/tests/example_sets/src/types.pr.rs", "Set"): std::collections::HashSet}  │       │ 11916 │        │ 193590 │ 633840 │         │ 3961.1 │ 843307.1  │
└─────────────────────────────────────────────────────────────────────────────────────────────────┴───────┴───────┴────────┴────────┴────────┴─────────┴────────┴───────────┘
\begin{center}
\begin{tabular}{|c|c|c|c|c|c|c|c|c|}
 & l17 & l18 & l27 & l28 & l35 & l39 & l8 & total \\
\hline
\{("/opt/candelabra/src/tests/example\_sets/src/types.pr.rs", "Set"): std::collections::BTreeSet\} & 19808 &  & 485220 &  &  & 1657700 & 5258.9 & 2167986.9 \\
\{("/opt/candelabra/src/tests/example\_sets/src/types.pr.rs", "Set"): std::collections::HashSet\} &  & 11916 &  & 193590 & 633840 &  & 3961.1 & 843307.1 \\
\end{tabular}
\end{center}
section_end:1711760718:compare-example_sets