blob: 72a5c7935feca5f92bf056ae95012d7a57f38716 (
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
|
:1709850818:cost-model-std--collections--LinkedList
[0Kcost-model-std--collections--LinkedList
/run/current-system/sw/bin/candelabra-cli -l cost-model std::collections::LinkedList
[2024-03-07T22:33:38Z INFO candelabra_cli] Using source dir: "/nix/store/7wv9jmqs03dnxbc2yd1sdi2yi880zs19-source"
[2024-03-07T22:33:38Z DEBUG candelabra::candidates] Initialised candidate cacher with hash 10402570600929242768
[2024-03-07T22:33:38Z DEBUG primrose::library_specs] Failed to process library module /nix/store/7wv9jmqs03dnxbc2yd1sdi2yi880zs19-source/crates/library/src/adaptive.rs. Continuing anyway.
[2024-03-07T22:33:38Z DEBUG primrose::library_specs] Failed to process library module /nix/store/7wv9jmqs03dnxbc2yd1sdi2yi880zs19-source/crates/library/src/profiler.rs. Continuing anyway.
[2024-03-07T22:33:38Z DEBUG primrose::library_specs] Failed to process library module /nix/store/7wv9jmqs03dnxbc2yd1sdi2yi880zs19-source/crates/library/src/traits.rs. Continuing anyway.
[2024-03-07T22:33:38Z DEBUG candelabra::cost] Initialised benchmark cacher with hash 10402570600929242768
[2024-03-07T22:33:38Z INFO candelabra_cli::model] Calculating cost model for std::collections::LinkedList
[2024-03-07T22:33:38Z INFO candelabra::cost::benchmark] Preparing benchmarking crate for std::collections::LinkedList in "/tmp/.tmpev1jH6"
[2024-03-07T22:33:38Z INFO candelabra::cost::benchmark] Building and running benchmarks for std::collections::LinkedList
Updating crates.io index
Compiling bench v0.1.0 (/tmp/.tmpev1jH6)
Finished release [optimized] target(s) in 1.57s
Running `/opt/candelabra/src/target/release/bench --bench`
[2024-03-07T22:34:18Z DEBUG candelabra::cost] Fitting op nth with 400 observations
[2024-03-07T22:34:18Z DEBUG candelabra::cost] Fitting op contains with 400 observations
[2024-03-07T22:34:18Z DEBUG candelabra::cost] Fitting op clear with 400 observations
[2024-03-07T22:34:18Z DEBUG candelabra::cost] Fitting op first with 400 observations
[2024-03-07T22:34:18Z DEBUG candelabra::cost] Fitting op last with 400 observations
[2024-03-07T22:34:18Z DEBUG candelabra::cost] Fitting op remove with 400 observations
[2024-03-07T22:34:18Z DEBUG candelabra::cost] Fitting op pop with 400 observations
[2024-03-07T22:34:18Z DEBUG candelabra::cost] Fitting op insert with 400 observations
[2024-03-07T22:34:18Z DEBUG candelabra::cost] Fitting op push with 400 observations
┌──────────┬─────────────────────┬─────────────────────────┬──────────────────────────────┬──────────────────────┬─────────────────────┐
│ │ coeff 0 │ coeff 1 │ coeff 2 │ coeff 3 │ nrmse │
├──────────┼─────────────────────┼─────────────────────────┼──────────────────────────────┼──────────────────────┼─────────────────────┤
│ pop │ 10.57125748389808 │ -0.00004383885828319195 │ 0.0000000004677802986872668 │ 0.011904273104931917 │ 0.15315772791773652 │
│ nth │ 6124.18469646154 │ 2.0897831247479246 │ -0.000004951935711410482 │ -844.1146330165793 │ 0.8344877546092528 │
│ push │ 4.10297313824276 │ -0.00030133812369868146 │ 0.00000000481883533323893 │ 1.300346686440946 │ 0.1701070548869968 │
│ contains │ -5.876774115268745 │ 0.000134287012507589 │ -0.0000000010280237013104364 │ 4.398862181973584 │ 0.23239588821633173 │
│ first │ -1.9495246363339902 │ 0.0008828504135378057 │ -0.000000012545721522302994 │ 3.8707393104207313 │ 0.15134474744052473 │
│ last │ -5.247383978142352 │ 0.0005858647145659257 │ -0.000000008555272164632467 │ 4.263765530019668 │ 0.16725978199030445 │
│ insert │ 1.9514006136512307 │ 0.00015170686095412889 │ -0.000000003335693438360113 │ 1.4991735292277895 │ 0.09301542184386447 │
│ clear │ -12707.28231139481 │ 8.57749388493221 │ 0.0000035254998899045265 │ 1794.612040931359 │ 0.1273756014915767 │
│ remove │ -723.9541970309801 │ 2.741901954862101 │ -0.000023528342446549073 │ 31.45600900199497 │ 0.6999924087099588 │
└──────────┴─────────────────────┴─────────────────────────┴──────────────────────────────┴──────────────────────┴─────────────────────┘
\begin{center}
\begin{tabular}{|c|c|c|c|c|c|}
& coeff 0 & coeff 1 & coeff 2 & coeff 3 & nrmse \\
\hline
pop & 10.57125748389808 & -0.00004383885828319195 & 0.0000000004677802986872668 & 0.011904273104931917 & 0.15315772791773652 \\
nth & 6124.18469646154 & 2.0897831247479246 & -0.000004951935711410482 & -844.1146330165793 & 0.8344877546092528 \\
push & 4.10297313824276 & -0.00030133812369868146 & 0.00000000481883533323893 & 1.300346686440946 & 0.1701070548869968 \\
contains & -5.876774115268745 & 0.000134287012507589 & -0.0000000010280237013104364 & 4.398862181973584 & 0.23239588821633173 \\
first & -1.9495246363339902 & 0.0008828504135378057 & -0.000000012545721522302994 & 3.8707393104207313 & 0.15134474744052473 \\
last & -5.247383978142352 & 0.0005858647145659257 & -0.000000008555272164632467 & 4.263765530019668 & 0.16725978199030445 \\
insert & 1.9514006136512307 & 0.00015170686095412889 & -0.000000003335693438360113 & 1.4991735292277895 & 0.09301542184386447 \\
clear & -12707.28231139481 & 8.57749388493221 & 0.0000035254998899045265 & 1794.612040931359 & 0.1273756014915767 \\
remove & -723.9541970309801 & 2.741901954862101 & -0.000023528342446549073 & 31.45600900199497 & 0.6999924087099588 \\
\end{tabular}
\end{center}
[0Ksection_end:1709850858:cost-model-std--collections--LinkedList
[0K
|