blob: f3cf6880e027f5f0649fd82260153cc427fd9aaa (
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
|
:1709850896:cost-model-std--collections--BTreeMap
[0Kcost-model-std--collections--BTreeMap
/run/current-system/sw/bin/candelabra-cli -l cost-model std::collections::BTreeMap
[2024-03-07T22:34:56Z INFO candelabra_cli] Using source dir: "/nix/store/7wv9jmqs03dnxbc2yd1sdi2yi880zs19-source"
[2024-03-07T22:34:56Z DEBUG candelabra::candidates] Initialised candidate cacher with hash 10402570600929242768
[2024-03-07T22:34:56Z DEBUG primrose::library_specs] Failed to process library module /nix/store/7wv9jmqs03dnxbc2yd1sdi2yi880zs19-source/crates/library/src/adaptive.rs. Continuing anyway.
[2024-03-07T22:34:56Z DEBUG primrose::library_specs] Failed to process library module /nix/store/7wv9jmqs03dnxbc2yd1sdi2yi880zs19-source/crates/library/src/profiler.rs. Continuing anyway.
[2024-03-07T22:34:56Z DEBUG primrose::library_specs] Failed to process library module /nix/store/7wv9jmqs03dnxbc2yd1sdi2yi880zs19-source/crates/library/src/traits.rs. Continuing anyway.
[2024-03-07T22:34:56Z DEBUG candelabra::cost] Initialised benchmark cacher with hash 10402570600929242768
[2024-03-07T22:34:56Z INFO candelabra_cli::model] Calculating cost model for std::collections::BTreeMap
[2024-03-07T22:34:56Z INFO candelabra::cost::benchmark] Preparing benchmarking crate for std::collections::BTreeMap in "/tmp/.tmp2KxKtx"
[2024-03-07T22:34:56Z INFO candelabra::cost::benchmark] Building and running benchmarks for std::collections::BTreeMap
Updating crates.io index
Compiling bench v0.1.0 (/tmp/.tmp2KxKtx)
Finished release [optimized] target(s) in 0.92s
Running `/opt/candelabra/src/target/release/bench --bench`
[2024-03-07T22:35:18Z DEBUG candelabra::cost] Fitting op insert with 400 observations
[2024-03-07T22:35:18Z DEBUG candelabra::cost] Fitting op contains with 400 observations
[2024-03-07T22:35:18Z DEBUG candelabra::cost] Fitting op remove with 400 observations
[2024-03-07T22:35:18Z DEBUG candelabra::cost] Fitting op clear with 400 observations
┌──────────┬─────────────────────┬───────────────────────┬─────────────────────────────┬─────────────────────┬─────────────────────┐
│ │ coeff 0 │ coeff 1 │ coeff 2 │ coeff 3 │ nrmse │
├──────────┼─────────────────────┼───────────────────────┼─────────────────────────────┼─────────────────────┼─────────────────────┤
│ insert │ 33.01809881889494 │ 0.0009041469210732678 │ -0.000000006248018894483683 │ 3.53837927169468 │ 0.07632852990223328 │
│ contains │ 20.76588035639179 │ 0.003102653721930526 │ -0.000000030088394726067296 │ 6.935244574018043 │ 0.16246757705580064 │
│ remove │ -35.000632239312836 │ 0.010152303440625676 │ -0.0000001626814421385699 │ 18.81289683100931 │ 0.6183974760569179 │
│ clear │ 14096.775698021054 │ 7.620033664656148 │ 0.000006243073504597768 │ -1982.2016908868682 │ 0.07860431323281504 │
└──────────┴─────────────────────┴───────────────────────┴─────────────────────────────┴─────────────────────┴─────────────────────┘
\begin{center}
\begin{tabular}{|c|c|c|c|c|c|}
& coeff 0 & coeff 1 & coeff 2 & coeff 3 & nrmse \\
\hline
insert & 33.01809881889494 & 0.0009041469210732678 & -0.000000006248018894483683 & 3.53837927169468 & 0.07632852990223328 \\
contains & 20.76588035639179 & 0.003102653721930526 & -0.000000030088394726067296 & 6.935244574018043 & 0.16246757705580064 \\
remove & -35.000632239312836 & 0.010152303440625676 & -0.0000001626814421385699 & 18.81289683100931 & 0.6183974760569179 \\
clear & 14096.775698021054 & 7.620033664656148 & 0.000006243073504597768 & -1982.2016908868682 & 0.07860431323281504 \\
\end{tabular}
\end{center}
[0Ksection_end:1709850918:cost-model-std--collections--BTreeMap
[0K
|