blob: ef8f8617eaa3cdc9491d54b456d2cab0b1334b43 (
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
|
:1709829825:cost-model-primrose_library--EagerSortedVec
[0Kcost-model-primrose_library--EagerSortedVec
/run/current-system/sw/bin/candelabra-cli -l cost-model primrose_library::EagerSortedVec
[2024-03-07T16:43:45Z INFO candelabra_cli] Using source dir: "/nix/store/62sivksb29gn76l89v3hwvni26baphq5-source"
[2024-03-07T16:43:45Z DEBUG candelabra::candidates] Initialised candidate cacher with hash 10402570600929242768
[2024-03-07T16:43:45Z DEBUG primrose::library_specs] Failed to process library module /nix/store/62sivksb29gn76l89v3hwvni26baphq5-source/crates/library/src/adaptive.rs. Continuing anyway.
[2024-03-07T16:43:45Z DEBUG primrose::library_specs] Failed to process library module /nix/store/62sivksb29gn76l89v3hwvni26baphq5-source/crates/library/src/profiler.rs. Continuing anyway.
[2024-03-07T16:43:45Z DEBUG primrose::library_specs] Failed to process library module /nix/store/62sivksb29gn76l89v3hwvni26baphq5-source/crates/library/src/traits.rs. Continuing anyway.
[2024-03-07T16:43:45Z DEBUG candelabra::cost] Initialised benchmark cacher with hash 10402570600929242768
[2024-03-07T16:43:46Z INFO candelabra_cli::model] Calculating cost model for primrose_library::EagerSortedVec
[2024-03-07T16:43:46Z INFO candelabra::cost::benchmark] Preparing benchmarking crate for primrose_library::EagerSortedVec in "/tmp/.tmppiGs0d"
[2024-03-07T16:43:46Z INFO candelabra::cost::benchmark] Building and running benchmarks for primrose_library::EagerSortedVec
Updating crates.io index
Compiling bench v0.1.0 (/tmp/.tmppiGs0d)
Finished release [optimized] target(s) in 1.06s
Running `/opt/candelabra/src/target/release/bench --bench`
[2024-03-07T16:47:32Z DEBUG candelabra::cost] Fitting op insert with 400 observations
[2024-03-07T16:47:32Z DEBUG candelabra::cost] Fitting op first with 400 observations
[2024-03-07T16:47:32Z DEBUG candelabra::cost] Fitting op contains with 400 observations
[2024-03-07T16:47:32Z DEBUG candelabra::cost] Fitting op nth with 400 observations
[2024-03-07T16:47:32Z DEBUG candelabra::cost] Fitting op remove with 400 observations
[2024-03-07T16:47:32Z DEBUG candelabra::cost] Fitting op clear with 400 observations
[2024-03-07T16:47:32Z DEBUG candelabra::cost] Fitting op last with 400 observations
┌──────────┬─────────────────────┬────────────────────────┬──────────────────────────────┬─────────────────────┬─────────────────────┐
│ │ coeff 0 │ coeff 1 │ coeff 2 │ coeff 3 │ nrmse │
├──────────┼─────────────────────┼────────────────────────┼──────────────────────────────┼─────────────────────┼─────────────────────┤
│ clear │ 8.360099942840861 │ 0.0007511407131532699 │ -0.0000000015604150691930547 │ 3.1745594185716755 │ 0.39881673114653066 │
│ nth │ -4.153716586512019 │ 0.0002480119497290101 │ 0.000000009200662161764998 │ 4.364748359905775 │ 0.5542592545704063 │
│ last │ -8.811356284894828 │ -0.0010648746444896218 │ 0.000000030241860731407824 │ 5.7033513083757725 │ 0.47661021200864584 │
│ contains │ 171.675095941373 │ 0.017527091727466693 │ -0.00000019636492211331772 │ -15.618069505718495 │ 4.254169073057398 │
│ remove │ 436.71055399870966 │ 0.1150752395338337 │ 0.0000009306355233769587 │ -50.870169701876875 │ 0.916059449754812 │
│ insert │ 304.789653642918 │ 0.06530356732243714 │ 0.00000024265152630430415 │ -37.473979466074525 │ 0.11546500678751422 │
│ first │ -15.778908014964145 │ -0.0026233158889280017 │ 0.00000006498653330821493 │ 7.078049912935171 │ 1.2871110457094541 │
└──────────┴─────────────────────┴────────────────────────┴──────────────────────────────┴─────────────────────┴─────────────────────┘
\begin{center}
\begin{tabular}{|c|c|c|c|c|c|}
& coeff 0 & coeff 1 & coeff 2 & coeff 3 & nrmse \\
\hline
clear & 8.360099942840861 & 0.0007511407131532699 & -0.0000000015604150691930547 & 3.1745594185716755 & 0.39881673114653066 \\
nth & -4.153716586512019 & 0.0002480119497290101 & 0.000000009200662161764998 & 4.364748359905775 & 0.5542592545704063 \\
last & -8.811356284894828 & -0.0010648746444896218 & 0.000000030241860731407824 & 5.7033513083757725 & 0.47661021200864584 \\
contains & 171.675095941373 & 0.017527091727466693 & -0.00000019636492211331772 & -15.618069505718495 & 4.254169073057398 \\
remove & 436.71055399870966 & 0.1150752395338337 & 0.0000009306355233769587 & -50.870169701876875 & 0.916059449754812 \\
insert & 304.789653642918 & 0.06530356732243714 & 0.00000024265152630430415 & -37.473979466074525 & 0.11546500678751422 \\
first & -15.778908014964145 & -0.0026233158889280017 & 0.00000006498653330821493 & 7.078049912935171 & 1.2871110457094541 \\
\end{tabular}
\end{center}
[0Ksection_end:1709830052:cost-model-primrose_library--EagerSortedVec
[0K
|