aboutsummaryrefslogtreecommitdiff
path: root/analysis/current/sections/cost-model-std--vec--Vec
blob: f26170d7a1c5ce08b40d8603728e9fd59d1bfa21 (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
53
54
55
56
:1709850858:cost-model-std--vec--Vec
cost-model-std--vec--Vec
/run/current-system/sw/bin/candelabra-cli -l cost-model std::vec::Vec
[2024-03-07T22:34:18Z INFO  candelabra_cli] Using source dir: "/nix/store/7wv9jmqs03dnxbc2yd1sdi2yi880zs19-source"
[2024-03-07T22:34:18Z DEBUG candelabra::candidates] Initialised candidate cacher with hash 10402570600929242768
[2024-03-07T22:34:18Z DEBUG primrose::library_specs] Failed to process library module /nix/store/7wv9jmqs03dnxbc2yd1sdi2yi880zs19-source/crates/library/src/adaptive.rs. Continuing anyway.
[2024-03-07T22:34:18Z DEBUG primrose::library_specs] Failed to process library module /nix/store/7wv9jmqs03dnxbc2yd1sdi2yi880zs19-source/crates/library/src/profiler.rs. Continuing anyway.
[2024-03-07T22:34:18Z DEBUG primrose::library_specs] Failed to process library module /nix/store/7wv9jmqs03dnxbc2yd1sdi2yi880zs19-source/crates/library/src/traits.rs. Continuing anyway.
[2024-03-07T22:34:18Z DEBUG candelabra::cost] Initialised benchmark cacher with hash 10402570600929242768
[2024-03-07T22:34:18Z INFO  candelabra_cli::model] Calculating cost model for std::vec::Vec
[2024-03-07T22:34:18Z INFO  candelabra::cost::benchmark] Preparing benchmarking crate for std::vec::Vec in "/tmp/.tmpr6z6yW"
[2024-03-07T22:34:18Z INFO  candelabra::cost::benchmark] Building and running benchmarks for std::vec::Vec
    Updating crates.io index
   Compiling bench v0.1.0 (/tmp/.tmpr6z6yW)
    Finished release [optimized] target(s) in 1.15s
     Running `/opt/candelabra/src/target/release/bench --bench`
[2024-03-07T22:34:56Z DEBUG candelabra::cost] Fitting op remove with 400 observations
[2024-03-07T22:34:56Z DEBUG candelabra::cost] Fitting op insert with 400 observations
[2024-03-07T22:34:56Z DEBUG candelabra::cost] Fitting op pop with 400 observations
[2024-03-07T22:34:56Z DEBUG candelabra::cost] Fitting op contains with 400 observations
[2024-03-07T22:34:56Z DEBUG candelabra::cost] Fitting op first with 400 observations
[2024-03-07T22:34:56Z DEBUG candelabra::cost] Fitting op nth with 400 observations
[2024-03-07T22:34:56Z DEBUG candelabra::cost] Fitting op last with 400 observations
[2024-03-07T22:34:56Z DEBUG candelabra::cost] Fitting op push with 400 observations
[2024-03-07T22:34:56Z DEBUG candelabra::cost] Fitting op clear with 400 observations
┌──────────┬────────────────────┬─────────────────────────┬───────────────────────────────┬──────────────────────┬─────────────────────┐
│          │ coeff 0            │ coeff 1                 │ coeff 2                       │ coeff 3              │ nrmse               │
├──────────┼────────────────────┼─────────────────────────┼───────────────────────────────┼──────────────────────┼─────────────────────┤
│ pop      │ 2.5127446943779717 │ 0.000012699744000465099 │ -0.00000000009470833071050284 │ -0.0531489195398116  │ 0.13246299279746662 │
│ clear    │ 38.26177175230123  │ 0.0014760336138956998   │ -0.000000008306016017082114   │ -1.7235506663835736  │ 0.2345724306079457  │
│ first    │ 47.663775961448664 │ 0.0017163532954754535   │ -0.000000011648893341855545   │ -2.5737940514322872  │ 0.25129438261821    │
│ contains │ 32.60123107501977  │ 0.0012498834355564037   │ -0.000000006494538112172942   │ -1.0185259030197926  │ 0.2630946689640465  │
│ push     │ 15.718529863146898 │ 0.000297512114707469    │ -0.0000000024909391653071446  │ -1.2782278406718746  │ 2.0932437194406477  │
│ nth      │ 39.680192304015236 │ 0.0014078495994013507   │ -0.000000007612666134743178   │ -1.7727691982399847  │ 0.24806731321322004 │
│ remove   │ 1306.544007863733  │ 0.3968812419533876      │ 0.0000006498582530847308      │ -168.25425792229362  │ 0.28769264440247816 │
│ last     │ 51.98188656065713  │ 0.0017040887853038977   │ -0.000000011014421047024821   │ -2.9004233381311906  │ 0.24366846147122462 │
│ insert   │ 3.835984809778637  │ -0.00006614283954946894 │ 0.0000000016323542625608623   │ -0.11134144028452653 │ 0.24783683643799712 │
└──────────┴────────────────────┴─────────────────────────┴───────────────────────────────┴──────────────────────┴─────────────────────┘
\begin{center}
\begin{tabular}{|c|c|c|c|c|c|}
 & coeff 0 & coeff 1 & coeff 2 & coeff 3 & nrmse \\
\hline
pop & 2.5127446943779717 & 0.000012699744000465099 & -0.00000000009470833071050284 & -0.0531489195398116 & 0.13246299279746662 \\
clear & 38.26177175230123 & 0.0014760336138956998 & -0.000000008306016017082114 & -1.7235506663835736 & 0.2345724306079457 \\
first & 47.663775961448664 & 0.0017163532954754535 & -0.000000011648893341855545 & -2.5737940514322872 & 0.25129438261821 \\
contains & 32.60123107501977 & 0.0012498834355564037 & -0.000000006494538112172942 & -1.0185259030197926 & 0.2630946689640465 \\
push & 15.718529863146898 & 0.000297512114707469 & -0.0000000024909391653071446 & -1.2782278406718746 & 2.0932437194406477 \\
nth & 39.680192304015236 & 0.0014078495994013507 & -0.000000007612666134743178 & -1.7727691982399847 & 0.24806731321322004 \\
remove & 1306.544007863733 & 0.3968812419533876 & 0.0000006498582530847308 & -168.25425792229362 & 0.28769264440247816 \\
last & 51.98188656065713 & 0.0017040887853038977 & -0.000000011014421047024821 & -2.9004233381311906 & 0.24366846147122462 \\
insert & 3.835984809778637 & -0.00006614283954946894 & 0.0000000016323542625608623 & -0.11134144028452653 & 0.24783683643799712 \\
\end{tabular}
\end{center}
section_end:1709850896:cost-model-std--vec--Vec