aboutsummaryrefslogtreecommitdiff
path: root/analysis/current/sections/cost-model-primrose_library--SortedUniqueVec
blob: 3db834a06164e58daa60a48a6527ae4f5c2ad091 (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
:1709850553:cost-model-primrose_library--SortedUniqueVec
cost-model-primrose_library--SortedUniqueVec
/run/current-system/sw/bin/candelabra-cli -l cost-model primrose_library::SortedUniqueVec
[2024-03-07T22:29:13Z INFO  candelabra_cli] Using source dir: "/nix/store/7wv9jmqs03dnxbc2yd1sdi2yi880zs19-source"
[2024-03-07T22:29:13Z DEBUG candelabra::candidates] Initialised candidate cacher with hash 10402570600929242768
[2024-03-07T22:29:13Z DEBUG primrose::library_specs] Failed to process library module /nix/store/7wv9jmqs03dnxbc2yd1sdi2yi880zs19-source/crates/library/src/adaptive.rs. Continuing anyway.
[2024-03-07T22:29:13Z DEBUG primrose::library_specs] Failed to process library module /nix/store/7wv9jmqs03dnxbc2yd1sdi2yi880zs19-source/crates/library/src/profiler.rs. Continuing anyway.
[2024-03-07T22:29:13Z DEBUG primrose::library_specs] Failed to process library module /nix/store/7wv9jmqs03dnxbc2yd1sdi2yi880zs19-source/crates/library/src/traits.rs. Continuing anyway.
[2024-03-07T22:29:13Z DEBUG candelabra::cost] Initialised benchmark cacher with hash 10402570600929242768
[2024-03-07T22:29:13Z INFO  candelabra_cli::model] Calculating cost model for primrose_library::SortedUniqueVec
[2024-03-07T22:29:13Z INFO  candelabra::cost::benchmark] Preparing benchmarking crate for primrose_library::SortedUniqueVec in "/tmp/.tmpLPLJGE"
[2024-03-07T22:29:13Z INFO  candelabra::cost::benchmark] Building and running benchmarks for primrose_library::SortedUniqueVec
    Updating crates.io index
   Compiling primrose-library v0.1.0 (/nix/store/7wv9jmqs03dnxbc2yd1sdi2yi880zs19-source/crates/library)
   Compiling candelabra-benchmarker v0.1.0 (/nix/store/7wv9jmqs03dnxbc2yd1sdi2yi880zs19-source/crates/benchmarker)
   Compiling bench v0.1.0 (/tmp/.tmpLPLJGE)
    Finished release [optimized] target(s) in 2.43s
     Running `/opt/candelabra/src/target/release/bench --bench`
[2024-03-07T22:32:58Z DEBUG candelabra::cost] Fitting op remove with 400 observations
[2024-03-07T22:32:58Z DEBUG candelabra::cost] Fitting op first with 400 observations
[2024-03-07T22:32:58Z DEBUG candelabra::cost] Fitting op contains with 400 observations
[2024-03-07T22:32:58Z DEBUG candelabra::cost] Fitting op clear with 400 observations
[2024-03-07T22:32:58Z DEBUG candelabra::cost] Fitting op insert with 400 observations
[2024-03-07T22:32:58Z DEBUG candelabra::cost] Fitting op last with 400 observations
[2024-03-07T22:32:58Z DEBUG candelabra::cost] Fitting op nth with 366 observations
┌──────────┬────────────────────┬────────────────────────┬──────────────────────────────┬──────────────────────┬─────────────────────┐
│          │ coeff 0            │ coeff 1                │ coeff 2                      │ coeff 3              │ nrmse               │
├──────────┼────────────────────┼────────────────────────┼──────────────────────────────┼──────────────────────┼─────────────────────┤
│ clear    │ 27.435365035188624 │ 0.0015992722144352878  │ 0.0000000029924011987821983  │ 0.07629338017818554  │ 0.6153609792537608  │
│ nth      │ 27.557924658097363 │ 0.0015617041718968827  │ -0.0000000026002186666622907 │ -0.17166369124640823 │ 0.32661769625485304 │
│ first    │ 37.481321274602124 │ 0.0015871195130593707  │ -0.0000000009232635403960773 │ -0.9611007015537325  │ 0.5040224625720076  │
│ contains │ 30.385538860136876 │ 0.00016972382212759873 │ 0.000000027451863945274084   │ 1.3864000597221775   │ 0.6397924698775744  │
│ remove   │ 148.39062227320392 │ 0.31134591529583133    │ 0.000001678492679167828      │ -14.015782485701493  │ 0.29938024284013687 │
│ insert   │ 204.75377242962713 │ 0.05915527960194478    │ 0.00000028829078151809424    │ -23.858774816784717  │ 0.06132035893686302 │
│ last     │ 19.624370272164015 │ 0.0005046278608913657  │ 0.000000012943558419157375   │ 1.2086942222933885   │ 0.6005657729937673  │
└──────────┴────────────────────┴────────────────────────┴──────────────────────────────┴──────────────────────┴─────────────────────┘
\begin{center}
\begin{tabular}{|c|c|c|c|c|c|}
 & coeff 0 & coeff 1 & coeff 2 & coeff 3 & nrmse \\
\hline
clear & 27.435365035188624 & 0.0015992722144352878 & 0.0000000029924011987821983 & 0.07629338017818554 & 0.6153609792537608 \\
nth & 27.557924658097363 & 0.0015617041718968827 & -0.0000000026002186666622907 & -0.17166369124640823 & 0.32661769625485304 \\
first & 37.481321274602124 & 0.0015871195130593707 & -0.0000000009232635403960773 & -0.9611007015537325 & 0.5040224625720076 \\
contains & 30.385538860136876 & 0.00016972382212759873 & 0.000000027451863945274084 & 1.3864000597221775 & 0.6397924698775744 \\
remove & 148.39062227320392 & 0.31134591529583133 & 0.000001678492679167828 & -14.015782485701493 & 0.29938024284013687 \\
insert & 204.75377242962713 & 0.05915527960194478 & 0.00000028829078151809424 & -23.858774816784717 & 0.06132035893686302 \\
last & 19.624370272164015 & 0.0005046278608913657 & 0.000000012943558419157375 & 1.2086942222933885 & 0.6005657729937673 \\
\end{tabular}
\end{center}
section_end:1709850778:cost-model-primrose_library--SortedUniqueVec