aboutsummaryrefslogtreecommitdiff
path: root/analysis/current/sections/cost-model-std--vec--Vec
diff options
context:
space:
mode:
Diffstat (limited to 'analysis/current/sections/cost-model-std--vec--Vec')
-rw-r--r--analysis/current/sections/cost-model-std--vec--Vec56
1 files changed, 56 insertions, 0 deletions
diff --git a/analysis/current/sections/cost-model-std--vec--Vec b/analysis/current/sections/cost-model-std--vec--Vec
new file mode 100644
index 0000000..f26170d
--- /dev/null
+++ b/analysis/current/sections/cost-model-std--vec--Vec
@@ -0,0 +1,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
+
+ \ No newline at end of file