blob: 3ce8947f636634d3128624efe2695664f2144a11 (
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
|
:1709850918:cost-model-primrose_library--SortedVec
[0Kcost-model-primrose_library--SortedVec
/run/current-system/sw/bin/candelabra-cli -l cost-model primrose_library::SortedVec
[2024-03-07T22:35:18Z INFO candelabra_cli] Using source dir: "/nix/store/7wv9jmqs03dnxbc2yd1sdi2yi880zs19-source"
[2024-03-07T22:35:18Z DEBUG candelabra::candidates] Initialised candidate cacher with hash 10402570600929242768
[2024-03-07T22:35:18Z DEBUG primrose::library_specs] Failed to process library module /nix/store/7wv9jmqs03dnxbc2yd1sdi2yi880zs19-source/crates/library/src/adaptive.rs. Continuing anyway.
[2024-03-07T22:35:18Z DEBUG primrose::library_specs] Failed to process library module /nix/store/7wv9jmqs03dnxbc2yd1sdi2yi880zs19-source/crates/library/src/profiler.rs. Continuing anyway.
[2024-03-07T22:35:18Z DEBUG primrose::library_specs] Failed to process library module /nix/store/7wv9jmqs03dnxbc2yd1sdi2yi880zs19-source/crates/library/src/traits.rs. Continuing anyway.
[2024-03-07T22:35:18Z DEBUG candelabra::cost] Initialised benchmark cacher with hash 10402570600929242768
[2024-03-07T22:35:19Z INFO candelabra_cli::model] Calculating cost model for primrose_library::SortedVec
[2024-03-07T22:35:19Z INFO candelabra::cost::benchmark] Preparing benchmarking crate for primrose_library::SortedVec in "/tmp/.tmplO8KSH"
[2024-03-07T22:35:19Z INFO candelabra::cost::benchmark] Building and running benchmarks for primrose_library::SortedVec
Updating crates.io index
Compiling bench v0.1.0 (/tmp/.tmplO8KSH)
Finished release [optimized] target(s) in 1.15s
Running `/opt/candelabra/src/target/release/bench --bench`
[2024-03-07T22:39:05Z DEBUG candelabra::cost] Fitting op remove with 400 observations
[2024-03-07T22:39:05Z DEBUG candelabra::cost] Fitting op last with 400 observations
[2024-03-07T22:39:05Z DEBUG candelabra::cost] Fitting op insert with 400 observations
[2024-03-07T22:39:05Z DEBUG candelabra::cost] Fitting op contains with 400 observations
[2024-03-07T22:39:05Z DEBUG candelabra::cost] Fitting op first with 400 observations
[2024-03-07T22:39:05Z DEBUG candelabra::cost] Fitting op nth with 400 observations
[2024-03-07T22:39:05Z DEBUG candelabra::cost] Fitting op clear with 400 observations
┌──────────┬─────────────────────┬────────────────────────┬─────────────────────────────┬─────────────────────┬─────────────────────┐
│ │ coeff 0 │ coeff 1 │ coeff 2 │ coeff 3 │ nrmse │
├──────────┼─────────────────────┼────────────────────────┼─────────────────────────────┼─────────────────────┼─────────────────────┤
│ first │ 23.115604065514162 │ 0.0016552461101443372 │ -0.000000016994103871842016 │ 1.2806307768356646 │ 0.2359214629139682 │
│ nth │ 6.9474018931496175 │ 0.0013609141768034239 │ -0.00000001652065139098895 │ 2.8451071646536548 │ 0.19214647593011797 │
│ clear │ -5.860240296883603 │ -0.0005695576899793775 │ 0.00000001374881442038437 │ 5.301953712130171 │ 0.2984928582370135 │
│ remove │ 478.98320230067475 │ 0.13950592202897383 │ 0.0000007042142863927195 │ -56.8946222754239 │ 0.8414709580735336 │
│ last │ -2.844254802789692 │ 0.0001936189155647694 │ 0.000000003822732122815702 │ 4.530689690975123 │ 0.29842109755912066 │
│ insert │ 260.99821607695776 │ 0.06298193719663914 │ 0.0000002464311943160629 │ -31.302467538822384 │ 0.05809797939310189 │
│ contains │ -5.6534359899360425 │ 0.0010576667782385973 │ 0.000000011141120193907724 │ 8.511151592218312 │ 0.32615340669564613 │
└──────────┴─────────────────────┴────────────────────────┴─────────────────────────────┴─────────────────────┴─────────────────────┘
\begin{center}
\begin{tabular}{|c|c|c|c|c|c|}
& coeff 0 & coeff 1 & coeff 2 & coeff 3 & nrmse \\
\hline
first & 23.115604065514162 & 0.0016552461101443372 & -0.000000016994103871842016 & 1.2806307768356646 & 0.2359214629139682 \\
nth & 6.9474018931496175 & 0.0013609141768034239 & -0.00000001652065139098895 & 2.8451071646536548 & 0.19214647593011797 \\
clear & -5.860240296883603 & -0.0005695576899793775 & 0.00000001374881442038437 & 5.301953712130171 & 0.2984928582370135 \\
remove & 478.98320230067475 & 0.13950592202897383 & 0.0000007042142863927195 & -56.8946222754239 & 0.8414709580735336 \\
last & -2.844254802789692 & 0.0001936189155647694 & 0.000000003822732122815702 & 4.530689690975123 & 0.29842109755912066 \\
insert & 260.99821607695776 & 0.06298193719663914 & 0.0000002464311943160629 & -31.302467538822384 & 0.05809797939310189 \\
contains & -5.6534359899360425 & 0.0010576667782385973 & 0.000000011141120193907724 & 8.511151592218312 & 0.32615340669564613 \\
\end{tabular}
\end{center}
[0Ksection_end:1709851145:cost-model-primrose_library--SortedVec
[0K
|