blob: 27f3ad593aef0f4c160bdbc672ce21a9f078ca4b (
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
|
:1709851145:cost-model-std--collections--BTreeSet
[0Kcost-model-std--collections--BTreeSet
/run/current-system/sw/bin/candelabra-cli -l cost-model std::collections::BTreeSet
[2024-03-07T22:39:05Z INFO candelabra_cli] Using source dir: "/nix/store/7wv9jmqs03dnxbc2yd1sdi2yi880zs19-source"
[2024-03-07T22:39:05Z DEBUG candelabra::candidates] Initialised candidate cacher with hash 10402570600929242768
[2024-03-07T22:39:05Z DEBUG primrose::library_specs] Failed to process library module /nix/store/7wv9jmqs03dnxbc2yd1sdi2yi880zs19-source/crates/library/src/adaptive.rs. Continuing anyway.
[2024-03-07T22:39:05Z DEBUG primrose::library_specs] Failed to process library module /nix/store/7wv9jmqs03dnxbc2yd1sdi2yi880zs19-source/crates/library/src/profiler.rs. Continuing anyway.
[2024-03-07T22:39:05Z DEBUG primrose::library_specs] Failed to process library module /nix/store/7wv9jmqs03dnxbc2yd1sdi2yi880zs19-source/crates/library/src/traits.rs. Continuing anyway.
[2024-03-07T22:39:05Z DEBUG candelabra::cost] Initialised benchmark cacher with hash 10402570600929242768
[2024-03-07T22:39:05Z INFO candelabra_cli::model] Calculating cost model for std::collections::BTreeSet
[2024-03-07T22:39:05Z INFO candelabra::cost::benchmark] Preparing benchmarking crate for std::collections::BTreeSet in "/tmp/.tmpqkwNEH"
[2024-03-07T22:39:05Z INFO candelabra::cost::benchmark] Building and running benchmarks for std::collections::BTreeSet
Updating crates.io index
Compiling bench v0.1.0 (/tmp/.tmpqkwNEH)
Finished release [optimized] target(s) in 1.17s
Running `/opt/candelabra/src/target/release/bench --bench`
[2024-03-07T22:39:42Z DEBUG candelabra::cost] Fitting op insert with 400 observations
[2024-03-07T22:39:42Z DEBUG candelabra::cost] Fitting op last with 400 observations
[2024-03-07T22:39:42Z DEBUG candelabra::cost] Fitting op remove with 400 observations
[2024-03-07T22:39:42Z DEBUG candelabra::cost] Fitting op contains with 400 observations
[2024-03-07T22:39:42Z DEBUG candelabra::cost] Fitting op clear with 400 observations
[2024-03-07T22:39:42Z DEBUG candelabra::cost] Fitting op first with 400 observations
[2024-03-07T22:39:42Z DEBUG candelabra::cost] Fitting op nth with 400 observations
┌──────────┬────────────────────┬────────────────────────┬──────────────────────────────┬────────────────────┬─────────────────────┐
│ │ coeff 0 │ coeff 1 │ coeff 2 │ coeff 3 │ nrmse │
├──────────┼────────────────────┼────────────────────────┼──────────────────────────────┼────────────────────┼─────────────────────┤
│ contains │ -2.881072375921576 │ -0.0004329678197667053 │ 0.00000001121471030059695 │ 10.827293020177649 │ 0.14524189029268908 │
│ clear │ 3802.392471525818 │ 4.759919997165468 │ 0.00001905274620584655 │ -485.8138711855281 │ 0.23121686123235574 │
│ insert │ 23.97712579546078 │ 0.00047953347750939734 │ -0.0000000023017385330608282 │ 4.017132391459654 │ 0.04947601880287837 │
│ nth │ 23999.983522346243 │ 3.845073871865452 │ -0.000009569075635806282 │ -3217.364556304179 │ 0.7908281414341383 │
│ first │ -55.5646254616222 │ -0.0011921091248741078 │ 0.000000007147283153976612 │ 12.122414492145253 │ 0.16044574895946984 │
│ last │ -38.12738730948604 │ -0.0008918532148384228 │ 0.000000009340279031761362 │ 10.436244511835866 │ 0.12894491049041726 │
│ remove │ 156.09231406487015 │ -0.0008409256577953661 │ 0.000000018482276574496273 │ 8.007005602592926 │ 2.9809903650496103 │
└──────────┴────────────────────┴────────────────────────┴──────────────────────────────┴────────────────────┴─────────────────────┘
\begin{center}
\begin{tabular}{|c|c|c|c|c|c|}
& coeff 0 & coeff 1 & coeff 2 & coeff 3 & nrmse \\
\hline
contains & -2.881072375921576 & -0.0004329678197667053 & 0.00000001121471030059695 & 10.827293020177649 & 0.14524189029268908 \\
clear & 3802.392471525818 & 4.759919997165468 & 0.00001905274620584655 & -485.8138711855281 & 0.23121686123235574 \\
insert & 23.97712579546078 & 0.00047953347750939734 & -0.0000000023017385330608282 & 4.017132391459654 & 0.04947601880287837 \\
nth & 23999.983522346243 & 3.845073871865452 & -0.000009569075635806282 & -3217.364556304179 & 0.7908281414341383 \\
first & -55.5646254616222 & -0.0011921091248741078 & 0.000000007147283153976612 & 12.122414492145253 & 0.16044574895946984 \\
last & -38.12738730948604 & -0.0008918532148384228 & 0.000000009340279031761362 & 10.436244511835866 & 0.12894491049041726 \\
remove & 156.09231406487015 & -0.0008409256577953661 & 0.000000018482276574496273 & 8.007005602592926 & 2.9809903650496103 \\
\end{tabular}
\end{center}
[0Ksection_end:1709851182:cost-model-std--collections--BTreeSet
[0K
section_end:1709851183:step_script
|