blob: a9a100f9e3c162dca3a9016e7275efb72350a15c (
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
|
:1709850778:cost-model-std--collections--HashSet
[0Kcost-model-std--collections--HashSet
/run/current-system/sw/bin/candelabra-cli -l cost-model std::collections::HashSet
[2024-03-07T22:32:58Z INFO candelabra_cli] Using source dir: "/nix/store/7wv9jmqs03dnxbc2yd1sdi2yi880zs19-source"
[2024-03-07T22:32:58Z DEBUG candelabra::candidates] Initialised candidate cacher with hash 10402570600929242768
[2024-03-07T22:32:58Z DEBUG primrose::library_specs] Failed to process library module /nix/store/7wv9jmqs03dnxbc2yd1sdi2yi880zs19-source/crates/library/src/adaptive.rs. Continuing anyway.
[2024-03-07T22:32:58Z DEBUG primrose::library_specs] Failed to process library module /nix/store/7wv9jmqs03dnxbc2yd1sdi2yi880zs19-source/crates/library/src/profiler.rs. Continuing anyway.
[2024-03-07T22:32:58Z DEBUG primrose::library_specs] Failed to process library module /nix/store/7wv9jmqs03dnxbc2yd1sdi2yi880zs19-source/crates/library/src/traits.rs. Continuing anyway.
[2024-03-07T22:32:58Z DEBUG candelabra::cost] Initialised benchmark cacher with hash 10402570600929242768
[2024-03-07T22:32:58Z INFO candelabra_cli::model] Calculating cost model for std::collections::HashSet
[2024-03-07T22:32:58Z INFO candelabra::cost::benchmark] Preparing benchmarking crate for std::collections::HashSet in "/tmp/.tmpFK72Zu"
[2024-03-07T22:32:58Z INFO candelabra::cost::benchmark] Building and running benchmarks for std::collections::HashSet
Updating crates.io index
Compiling bench v0.1.0 (/tmp/.tmpFK72Zu)
Finished release [optimized] target(s) in 1.59s
Running `/opt/candelabra/src/target/release/bench --bench`
[2024-03-07T22:33:18Z DEBUG candelabra::cost] Fitting op contains with 400 observations
[2024-03-07T22:33:18Z DEBUG candelabra::cost] Fitting op insert with 400 observations
[2024-03-07T22:33:18Z DEBUG candelabra::cost] Fitting op clear with 400 observations
[2024-03-07T22:33:18Z DEBUG candelabra::cost] Fitting op remove with 400 observations
┌──────────┬─────────────────────┬─────────────────────────┬──────────────────────────────┬─────────────────────┬─────────────────────┐
│ │ coeff 0 │ coeff 1 │ coeff 2 │ coeff 3 │ nrmse │
├──────────┼─────────────────────┼─────────────────────────┼──────────────────────────────┼─────────────────────┼─────────────────────┤
│ contains │ -1.6510337281442844 │ 0.0003403073788542099 │ -0.0000000016916357137186027 │ 6.848075060615201 │ 0.1194428439156068 │
│ clear │ -102.44893751390919 │ 0.0021683704784924984 │ 0.0000009182705742699532 │ 17.897646576919215 │ 0.37980588930807796 │
│ remove │ -52.26557764601239 │ -0.0029458978540574665 │ 0.00000004405820453189829 │ 14.786380760031307 │ 0.27174634655405655 │
│ insert │ 38.309520749537114 │ -0.00020001696362842436 │ 0.000000007203389482577351 │ 0.37691828878172373 │ 0.0966353621182969 │
└──────────┴─────────────────────┴─────────────────────────┴──────────────────────────────┴─────────────────────┴─────────────────────┘
\begin{center}
\begin{tabular}{|c|c|c|c|c|c|}
& coeff 0 & coeff 1 & coeff 2 & coeff 3 & nrmse \\
\hline
contains & -1.6510337281442844 & 0.0003403073788542099 & -0.0000000016916357137186027 & 6.848075060615201 & 0.1194428439156068 \\
clear & -102.44893751390919 & 0.0021683704784924984 & 0.0000009182705742699532 & 17.897646576919215 & 0.37980588930807796 \\
remove & -52.26557764601239 & -0.0029458978540574665 & 0.00000004405820453189829 & 14.786380760031307 & 0.27174634655405655 \\
insert & 38.309520749537114 & -0.00020001696362842436 & 0.000000007203389482577351 & 0.37691828878172373 & 0.0966353621182969 \\
\end{tabular}
\end{center}
[0Ksection_end:1709850798:cost-model-std--collections--HashSet
[0K
|