blob: f2e1febf86b5b2b43ee0016a1625d89a18c67fcc (
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
|
:1709829026:cost-model-primrose_library--EagerUniqueVec
[0Kcost-model-primrose_library--EagerUniqueVec
/run/current-system/sw/bin/candelabra-cli -l cost-model primrose_library::EagerUniqueVec
[2024-03-07T16:30:26Z INFO candelabra_cli] Using source dir: "/nix/store/62sivksb29gn76l89v3hwvni26baphq5-source"
[2024-03-07T16:30:26Z DEBUG candelabra::candidates] Initialised candidate cacher with hash 10402570600929242768
[2024-03-07T16:30:26Z DEBUG primrose::library_specs] Failed to process library module /nix/store/62sivksb29gn76l89v3hwvni26baphq5-source/crates/library/src/adaptive.rs. Continuing anyway.
[2024-03-07T16:30:26Z DEBUG primrose::library_specs] Failed to process library module /nix/store/62sivksb29gn76l89v3hwvni26baphq5-source/crates/library/src/profiler.rs. Continuing anyway.
[2024-03-07T16:30:26Z DEBUG primrose::library_specs] Failed to process library module /nix/store/62sivksb29gn76l89v3hwvni26baphq5-source/crates/library/src/traits.rs. Continuing anyway.
[2024-03-07T16:30:26Z DEBUG candelabra::cost] Initialised benchmark cacher with hash 10402570600929242768
[2024-03-07T16:30:27Z INFO candelabra_cli::model] Calculating cost model for primrose_library::EagerUniqueVec
[2024-03-07T16:30:27Z INFO candelabra::cost::benchmark] Preparing benchmarking crate for primrose_library::EagerUniqueVec in "/tmp/.tmpjsA3Oc"
[2024-03-07T16:30:27Z INFO candelabra::cost::benchmark] Building and running benchmarks for primrose_library::EagerUniqueVec
Updating crates.io index
Compiling primrose-library v0.1.0 (/nix/store/62sivksb29gn76l89v3hwvni26baphq5-source/crates/library)
Compiling candelabra-benchmarker v0.1.0 (/nix/store/62sivksb29gn76l89v3hwvni26baphq5-source/crates/benchmarker)
Compiling bench v0.1.0 (/tmp/.tmpjsA3Oc)
Finished release [optimized] target(s) in 1.76s
Running `/opt/candelabra/src/target/release/bench --bench`
[2024-03-07T16:42:04Z DEBUG candelabra::cost] Fitting op last with 400 observations
[2024-03-07T16:42:04Z DEBUG candelabra::cost] Fitting op insert with 400 observations
[2024-03-07T16:42:04Z DEBUG candelabra::cost] Fitting op contains with 400 observations
[2024-03-07T16:42:04Z DEBUG candelabra::cost] Fitting op first with 400 observations
[2024-03-07T16:42:04Z DEBUG candelabra::cost] Fitting op nth with 400 observations
[2024-03-07T16:42:04Z DEBUG candelabra::cost] Fitting op remove with 400 observations
[2024-03-07T16:42:04Z DEBUG candelabra::cost] Fitting op clear with 400 observations
┌──────────┬────────────────────┬─────────────────────────┬─────────────────────────────┬─────────────────────┬──────────────────────┐
│ │ coeff 0 │ coeff 1 │ coeff 2 │ coeff 3 │ nrmse │
├──────────┼────────────────────┼─────────────────────────┼─────────────────────────────┼─────────────────────┼──────────────────────┤
│ first │ 34.681567762527266 │ 0.00010297945395876251 │ 0.000000010958636286960643 │ 0.8033545946905178 │ 0.4264563603286057 │
│ nth │ 13.936568920928949 │ -0.00013744387364830746 │ 0.000000019600417580621518 │ 2.331512333122987 │ 0.6990301031401734 │
│ clear │ 21.416763700904085 │ 0.0018940584748368683 │ -0.000000020530345568358175 │ 0.8467077371669802 │ 0.4703155375333861 │
│ contains │ 46.35836842565823 │ 0.002761743573825637 │ -0.000000035487013941833007 │ -1.3205898909469624 │ 0.55024108266488 │
│ last │ 15.892041688187419 │ 0.00029831406008959394 │ 0.0000000055318022496364344 │ 2.058390617305008 │ 0.48898081269681365 │
│ insert │ -153.6446411240613 │ 0.23248667145498914 │ 0.000000027182569858175782 │ 22.40592036788439 │ 0.029968864791422654 │
│ remove │ 1674.5459627179662 │ 0.4592361185757525 │ -0.0000008043058939631283 │ -218.78933329158463 │ 0.3076253082881955 │
└──────────┴────────────────────┴─────────────────────────┴─────────────────────────────┴─────────────────────┴──────────────────────┘
\begin{center}
\begin{tabular}{|c|c|c|c|c|c|}
& coeff 0 & coeff 1 & coeff 2 & coeff 3 & nrmse \\
\hline
first & 34.681567762527266 & 0.00010297945395876251 & 0.000000010958636286960643 & 0.8033545946905178 & 0.4264563603286057 \\
nth & 13.936568920928949 & -0.00013744387364830746 & 0.000000019600417580621518 & 2.331512333122987 & 0.6990301031401734 \\
clear & 21.416763700904085 & 0.0018940584748368683 & -0.000000020530345568358175 & 0.8467077371669802 & 0.4703155375333861 \\
contains & 46.35836842565823 & 0.002761743573825637 & -0.000000035487013941833007 & -1.3205898909469624 & 0.55024108266488 \\
last & 15.892041688187419 & 0.00029831406008959394 & 0.0000000055318022496364344 & 2.058390617305008 & 0.48898081269681365 \\
insert & -153.6446411240613 & 0.23248667145498914 & 0.000000027182569858175782 & 22.40592036788439 & 0.029968864791422654 \\
remove & 1674.5459627179662 & 0.4592361185757525 & -0.0000008043058939631283 & -218.78933329158463 & 0.3076253082881955 \\
\end{tabular}
\end{center}
[0Ksection_end:1709829724:cost-model-primrose_library--EagerUniqueVec
[0K
|