aboutsummaryrefslogtreecommitdiff
path: root/analysis/current/sections/cost-model-std--collections--HashMap
diff options
context:
space:
mode:
Diffstat (limited to 'analysis/current/sections/cost-model-std--collections--HashMap')
-rw-r--r--analysis/current/sections/cost-model-std--collections--HashMap41
1 files changed, 41 insertions, 0 deletions
diff --git a/analysis/current/sections/cost-model-std--collections--HashMap b/analysis/current/sections/cost-model-std--collections--HashMap
new file mode 100644
index 0000000..93139fb
--- /dev/null
+++ b/analysis/current/sections/cost-model-std--collections--HashMap
@@ -0,0 +1,41 @@
+:1709850798:cost-model-std--collections--HashMap
+cost-model-std--collections--HashMap
+/run/current-system/sw/bin/candelabra-cli -l cost-model std::collections::HashMap
+[2024-03-07T22:33:18Z INFO candelabra_cli] Using source dir: "/nix/store/7wv9jmqs03dnxbc2yd1sdi2yi880zs19-source"
+[2024-03-07T22:33:18Z DEBUG candelabra::candidates] Initialised candidate cacher with hash 10402570600929242768
+[2024-03-07T22:33:18Z DEBUG primrose::library_specs] Failed to process library module /nix/store/7wv9jmqs03dnxbc2yd1sdi2yi880zs19-source/crates/library/src/adaptive.rs. Continuing anyway.
+[2024-03-07T22:33:18Z DEBUG primrose::library_specs] Failed to process library module /nix/store/7wv9jmqs03dnxbc2yd1sdi2yi880zs19-source/crates/library/src/profiler.rs. Continuing anyway.
+[2024-03-07T22:33:18Z DEBUG primrose::library_specs] Failed to process library module /nix/store/7wv9jmqs03dnxbc2yd1sdi2yi880zs19-source/crates/library/src/traits.rs. Continuing anyway.
+[2024-03-07T22:33:18Z DEBUG candelabra::cost] Initialised benchmark cacher with hash 10402570600929242768
+[2024-03-07T22:33:18Z INFO candelabra_cli::model] Calculating cost model for std::collections::HashMap
+[2024-03-07T22:33:18Z INFO candelabra::cost::benchmark] Preparing benchmarking crate for std::collections::HashMap in "/tmp/.tmp43fKIN"
+[2024-03-07T22:33:18Z INFO candelabra::cost::benchmark] Building and running benchmarks for std::collections::HashMap
+ Updating crates.io index
+ Compiling bench v0.1.0 (/tmp/.tmp43fKIN)
+ Finished release [optimized] target(s) in 0.97s
+ Running `/opt/candelabra/src/target/release/bench --bench`
+[2024-03-07T22:33:38Z DEBUG candelabra::cost] Fitting op remove with 400 observations
+[2024-03-07T22:33:38Z DEBUG candelabra::cost] Fitting op contains with 400 observations
+[2024-03-07T22:33:38Z DEBUG candelabra::cost] Fitting op clear with 400 observations
+[2024-03-07T22:33:38Z DEBUG candelabra::cost] Fitting op insert with 400 observations
+┌──────────┬─────────────────────┬──────────────────────────┬──────────────────────────────┬────────────────────┬─────────────────────┐
+│ │ coeff 0 │ coeff 1 │ coeff 2 │ coeff 3 │ nrmse │
+├──────────┼─────────────────────┼──────────────────────────┼──────────────────────────────┼────────────────────┼─────────────────────┤
+│ clear │ -68.36270489933668 │ 0.007719635311414841 │ 0.0000008299905594115698 │ 13.722263352416121 │ 0.7607683728842489 │
+│ contains │ -22.151205715324977 │ -0.000006845276704359193 │ -0.0000000016841634809319264 │ 8.501634070108707 │ 0.2413528896452518 │
+│ insert │ 30.858475740185895 │ -0.00025238288733700487 │ 0.0000000080381957896142 │ 1.3842449393851552 │ 0.11242980616836412 │
+│ remove │ -77.23899474729478 │ -0.002314910184817165 │ 0.000000020589867738696634 │ 17.572049000980996 │ 0.2346982808616954 │
+└──────────┴─────────────────────┴──────────────────────────┴──────────────────────────────┴────────────────────┴─────────────────────┘
+\begin{center}
+\begin{tabular}{|c|c|c|c|c|c|}
+ & coeff 0 & coeff 1 & coeff 2 & coeff 3 & nrmse \\
+\hline
+clear & -68.36270489933668 & 0.007719635311414841 & 0.0000008299905594115698 & 13.722263352416121 & 0.7607683728842489 \\
+contains & -22.151205715324977 & -0.000006845276704359193 & -0.0000000016841634809319264 & 8.501634070108707 & 0.2413528896452518 \\
+insert & 30.858475740185895 & -0.00025238288733700487 & 0.0000000080381957896142 & 1.3842449393851552 & 0.11242980616836412 \\
+remove & -77.23899474729478 & -0.002314910184817165 & 0.000000020589867738696634 & 17.572049000980996 & 0.2346982808616954 \\
+\end{tabular}
+\end{center}
+section_end:1709850818:cost-model-std--collections--HashMap
+
+ \ No newline at end of file