blob: 93139fb238ad10334f64346bdbcda0f440e8858f (
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
|
:1709850798:cost-model-std--collections--HashMap
[0Kcost-model-std--collections--HashMap
/run/current-system/sw/bin/candelabra-cli -l cost-model std::collections::HashMap
[2024-03-07T22:33:18Z INFO candelabra_cli] Using source dir: "/nix/store/7wv9jmqs03dnxbc2yd1sdi2yi880zs19-source"
[2024-03-07T22:33:18Z DEBUG candelabra::candidates] Initialised candidate cacher with hash 10402570600929242768
[2024-03-07T22:33:18Z DEBUG primrose::library_specs] Failed to process library module /nix/store/7wv9jmqs03dnxbc2yd1sdi2yi880zs19-source/crates/library/src/adaptive.rs. Continuing anyway.
[2024-03-07T22:33:18Z DEBUG primrose::library_specs] Failed to process library module /nix/store/7wv9jmqs03dnxbc2yd1sdi2yi880zs19-source/crates/library/src/profiler.rs. Continuing anyway.
[2024-03-07T22:33:18Z DEBUG primrose::library_specs] Failed to process library module /nix/store/7wv9jmqs03dnxbc2yd1sdi2yi880zs19-source/crates/library/src/traits.rs. Continuing anyway.
[2024-03-07T22:33:18Z DEBUG candelabra::cost] Initialised benchmark cacher with hash 10402570600929242768
[2024-03-07T22:33:18Z INFO candelabra_cli::model] Calculating cost model for std::collections::HashMap
[2024-03-07T22:33:18Z INFO candelabra::cost::benchmark] Preparing benchmarking crate for std::collections::HashMap in "/tmp/.tmp43fKIN"
[2024-03-07T22:33:18Z INFO candelabra::cost::benchmark] Building and running benchmarks for std::collections::HashMap
Updating crates.io index
Compiling bench v0.1.0 (/tmp/.tmp43fKIN)
Finished release [optimized] target(s) in 0.97s
Running `/opt/candelabra/src/target/release/bench --bench`
[2024-03-07T22:33:38Z DEBUG candelabra::cost] Fitting op remove with 400 observations
[2024-03-07T22:33:38Z DEBUG candelabra::cost] Fitting op contains with 400 observations
[2024-03-07T22:33:38Z DEBUG candelabra::cost] Fitting op clear with 400 observations
[2024-03-07T22:33:38Z DEBUG candelabra::cost] Fitting op insert with 400 observations
┌──────────┬─────────────────────┬──────────────────────────┬──────────────────────────────┬────────────────────┬─────────────────────┐
│ │ coeff 0 │ coeff 1 │ coeff 2 │ coeff 3 │ nrmse │
├──────────┼─────────────────────┼──────────────────────────┼──────────────────────────────┼────────────────────┼─────────────────────┤
│ clear │ -68.36270489933668 │ 0.007719635311414841 │ 0.0000008299905594115698 │ 13.722263352416121 │ 0.7607683728842489 │
│ contains │ -22.151205715324977 │ -0.000006845276704359193 │ -0.0000000016841634809319264 │ 8.501634070108707 │ 0.2413528896452518 │
│ insert │ 30.858475740185895 │ -0.00025238288733700487 │ 0.0000000080381957896142 │ 1.3842449393851552 │ 0.11242980616836412 │
│ remove │ -77.23899474729478 │ -0.002314910184817165 │ 0.000000020589867738696634 │ 17.572049000980996 │ 0.2346982808616954 │
└──────────┴─────────────────────┴──────────────────────────┴──────────────────────────────┴────────────────────┴─────────────────────┘
\begin{center}
\begin{tabular}{|c|c|c|c|c|c|}
& coeff 0 & coeff 1 & coeff 2 & coeff 3 & nrmse \\
\hline
clear & -68.36270489933668 & 0.007719635311414841 & 0.0000008299905594115698 & 13.722263352416121 & 0.7607683728842489 \\
contains & -22.151205715324977 & -0.000006845276704359193 & -0.0000000016841634809319264 & 8.501634070108707 & 0.2413528896452518 \\
insert & 30.858475740185895 & -0.00025238288733700487 & 0.0000000080381957896142 & 1.3842449393851552 & 0.11242980616836412 \\
remove & -77.23899474729478 & -0.002314910184817165 & 0.000000020589867738696634 & 17.572049000980996 & 0.2346982808616954 \\
\end{tabular}
\end{center}
[0Ksection_end:1709850818:cost-model-std--collections--HashMap
[0K
|