:1710098241:compare-example_mapping compare-example_mapping /run/current-system/sw/bin/candelabra-cli -l --manifest-path /opt/candelabra/src/tests/Cargo.toml -p example_mapping select --compare [2024-03-10T19:17:21Z INFO candelabra_cli] Using source dir: "/nix/store/arg3vck84cg7ah84s37qjc2qshavq5yx-source" [2024-03-10T19:17:21Z DEBUG candelabra::candidates] Initialised candidate cacher with hash 10402570600929242768 [2024-03-10T19:17:21Z DEBUG primrose::library_specs] Failed to process library module /nix/store/arg3vck84cg7ah84s37qjc2qshavq5yx-source/crates/library/src/adaptive.rs. Continuing anyway. [2024-03-10T19:17:21Z DEBUG primrose::library_specs] Failed to process library module /nix/store/arg3vck84cg7ah84s37qjc2qshavq5yx-source/crates/library/src/profiler.rs. Continuing anyway. [2024-03-10T19:17:21Z DEBUG primrose::library_specs] Failed to process library module /nix/store/arg3vck84cg7ah84s37qjc2qshavq5yx-source/crates/library/src/traits.rs. Continuing anyway. [2024-03-10T19:17:21Z DEBUG candelabra::cost] Initialised benchmark cacher with hash 10402570600929242768 [2024-03-10T19:17:21Z INFO candelabra_cli::select] Processing project example_mapping [2024-03-10T19:17:21Z DEBUG candelabra::cache] Invalid cache entry: validation function said no [2024-03-10T19:17:21Z INFO candelabra::profiler] Setting up /opt/candelabra/src/tests/example_mapping/src/types.pr.rs for profiling [2024-03-10T19:17:21Z DEBUG primrose::selector] Setting up directories [2024-03-10T19:17:21Z DEBUG primrose::selector] Parsing into blocks [2024-03-10T19:17:21Z DEBUG primrose::selector] Running type checker [2024-03-10T19:17:21Z DEBUG primrose::selector] Running analysis [2024-03-10T19:17:21Z DEBUG primrose::library_specs] Ignoring invalid library module /nix/store/arg3vck84cg7ah84s37qjc2qshavq5yx-source/crates/library/src/adaptive.rs [2024-03-10T19:17:21Z DEBUG primrose::library_specs] Ignoring invalid library module /nix/store/arg3vck84cg7ah84s37qjc2qshavq5yx-source/crates/library/src/profiler.rs [2024-03-10T19:17:21Z DEBUG primrose::library_specs] Ignoring invalid library module /nix/store/arg3vck84cg7ah84s37qjc2qshavq5yx-source/crates/library/src/traits.rs [2024-03-10T19:17:21Z INFO candelabra::profiler] Running benchmark main with out dir TempDir { path: "/tmp/.tmp8LkmW4" } Compiling example_mapping v0.1.0 (/opt/candelabra/src/tests/example_mapping) Finished bench [optimized] target(s) in 3.02s Running benches/main.rs (/opt/candelabra/src/tests/target/release/deps/main-2ea61f050d4d0ca4) ┌──────┬────────────────────────────┬────────────────────┬───────────────────────────────────────────────────────────┐ │ name │ implementation │ estimated cost │ file │ ├──────┼────────────────────────────┼────────────────────┼───────────────────────────────────────────────────────────┤ │ Map │ std::collections::BTreeMap │ 7154594855.394661 │ /opt/candelabra/src/tests/example_mapping/src/types.pr.rs │ │ Map │ std::collections::HashMap │ 3802837688.6948915 │ /opt/candelabra/src/tests/example_mapping/src/types.pr.rs │ └──────┴────────────────────────────┴────────────────────┴───────────────────────────────────────────────────────────┘ \begin{center} \begin{tabular}{|c|c|c|c|} name & implementation & estimated cost & file \\ \hline Map & std::collections::BTreeMap & 7154594855.394661 & /opt/candelabra/src/tests/example\_mapping/src/types.pr.rs \\ Map & std::collections::HashMap & 3802837688.6948915 & /opt/candelabra/src/tests/example\_mapping/src/types.pr.rs \\ \end{tabular} \end{center} [2024-03-10T19:18:08Z DEBUG candelabra::profiler::info] Checking for nsplit [2024-03-10T19:18:08Z DEBUG candelabra::profiler::info] Partitions: [ProfilerPartition { occurences: 2142.0, avg_n: 10000.0, avg_op_counts: {"clear": 0.0, "first": 0.0, "nth": 0.0, "push": 0.0, "get": 20000.0, "remove": 0.0, "pop": 0.0, "last": 0.0, "contains": 0.0, "insert": 10000.0} }, ProfilerPartition { occurences: 786.0, avg_n: 30000.0, avg_op_counts: {"pop": 0.0, "clear": 0.0, "remove": 0.0, "last": 0.0, "insert": 30000.0, "get": 60000.0, "nth": 0.0, "push": 0.0, "contains": 0.0, "first": 0.0} }, ProfilerPartition { occurences: 382.0, avg_n: 60000.0, avg_op_counts: {"first": 0.0, "nth": 0.0, "contains": 0.0, "clear": 0.0, "last": 0.0, "insert": 60000.0, "push": 0.0, "get": 120000.0, "pop": 0.0, "remove": 0.0} }] [2024-03-10T19:18:08Z DEBUG candelabra::profiler::info] Costs by partitions: [("std::collections::HashMap", [1053419811.1070843, 1224118278.7421014, 1525299598.8457055]), ("std::collections::BTreeMap", [1853668417.8202925, 2518139887.0456057, 2782786550.5287633])] [2024-03-10T19:18:08Z DEBUG candelabra::profiler::info] Top by partition: [("std::collections::HashMap", 1053419811.1070843), ("std::collections::HashMap", 1224118278.7421014), ("std::collections::HashMap", 1525299598.8457055)] [2024-03-10T19:18:08Z DEBUG candelabra::profiler::info] Checking for nsplit [2024-03-10T19:18:08Z DEBUG candelabra::profiler::info] Partitions: [ProfilerPartition { occurences: 2142.0, avg_n: 10000.0, avg_op_counts: {"push": 0.0, "pop": 0.0, "insert": 10000.0, "remove": 0.0, "last": 0.0, "clear": 0.0, "first": 0.0, "get": 20000.0, "nth": 0.0, "contains": 0.0} }, ProfilerPartition { occurences: 786.0, avg_n: 30000.0, avg_op_counts: {"pop": 0.0, "nth": 0.0, "push": 0.0, "get": 60000.0, "insert": 30000.0, "clear": 0.0, "contains": 0.0, "remove": 0.0, "last": 0.0, "first": 0.0} }, ProfilerPartition { occurences: 382.0, avg_n: 60000.0, avg_op_counts: {"pop": 0.0, "contains": 0.0, "push": 0.0, "insert": 60000.0, "remove": 0.0, "nth": 0.0, "last": 0.0, "clear": 0.0, "first": 0.0, "get": 120000.0} }] [2024-03-10T19:18:08Z DEBUG candelabra::profiler::info] Costs by partitions: [("std::collections::BTreeMap", [1853668417.8202925, 2518139887.0456057, 2782786550.5287633]), ("std::collections::HashMap", [1053419811.1070843, 1224118278.7421014, 1525299598.8457055])] [2024-03-10T19:18:08Z DEBUG candelabra::profiler::info] Top by partition: [("std::collections::HashMap", 1053419811.1070843), ("std::collections::HashMap", 1224118278.7421014), ("std::collections::HashMap", 1525299598.8457055)] [2024-03-10T19:18:08Z DEBUG candelabra::confirmation] Saving choices for project example_mapping [2024-03-10T19:18:08Z DEBUG candelabra::confirmation] Saving choices for /opt/candelabra/src/tests/example_mapping/src/types.pr.rs [2024-03-10T19:18:08Z DEBUG primrose::selector] Setting up directories [2024-03-10T19:18:08Z DEBUG primrose::selector] Parsing into blocks [2024-03-10T19:18:08Z DEBUG primrose::selector] Running type checker [2024-03-10T19:18:08Z DEBUG primrose::selector] Running analysis [2024-03-10T19:18:08Z DEBUG primrose::library_specs] Ignoring invalid library module /nix/store/arg3vck84cg7ah84s37qjc2qshavq5yx-source/crates/library/src/adaptive.rs [2024-03-10T19:18:08Z DEBUG primrose::library_specs] Ignoring invalid library module /nix/store/arg3vck84cg7ah84s37qjc2qshavq5yx-source/crates/library/src/profiler.rs [2024-03-10T19:18:08Z DEBUG primrose::library_specs] Ignoring invalid library module /nix/store/arg3vck84cg7ah84s37qjc2qshavq5yx-source/crates/library/src/traits.rs [2024-03-10T19:18:08Z INFO candelabra_cli::select] Saved best choices [2024-03-10T19:18:08Z INFO candelabra_cli::select] Running benchmarks with {("/opt/candelabra/src/tests/example_mapping/src/types.pr.rs", "Map"): std::collections::BTreeMap} [2024-03-10T19:18:08Z DEBUG candelabra::confirmation] Saving choices for project example_mapping [2024-03-10T19:18:08Z DEBUG candelabra::confirmation] Saving choices for /opt/candelabra/src/tests/example_mapping/src/types.pr.rs [2024-03-10T19:18:08Z DEBUG primrose::selector] Setting up directories [2024-03-10T19:18:08Z DEBUG primrose::selector] Parsing into blocks [2024-03-10T19:18:08Z DEBUG primrose::selector] Running type checker [2024-03-10T19:18:08Z DEBUG primrose::selector] Running analysis [2024-03-10T19:18:08Z DEBUG primrose::library_specs] Ignoring invalid library module /nix/store/arg3vck84cg7ah84s37qjc2qshavq5yx-source/crates/library/src/adaptive.rs [2024-03-10T19:18:08Z DEBUG primrose::library_specs] Ignoring invalid library module /nix/store/arg3vck84cg7ah84s37qjc2qshavq5yx-source/crates/library/src/profiler.rs [2024-03-10T19:18:08Z DEBUG primrose::library_specs] Ignoring invalid library module /nix/store/arg3vck84cg7ah84s37qjc2qshavq5yx-source/crates/library/src/traits.rs Compiling example_mapping v0.1.0 (/opt/candelabra/src/tests/example_mapping) Finished bench [optimized] target(s) in 2.83s Running benches/main.rs (/opt/candelabra/src/tests/target/release/deps/main-2ea61f050d4d0ca4) [2024-03-10T19:18:50Z INFO candelabra_cli::select] Running benchmarks with {("/opt/candelabra/src/tests/example_mapping/src/types.pr.rs", "Map"): std::collections::HashMap} [2024-03-10T19:18:50Z DEBUG candelabra::confirmation] Saving choices for project example_mapping [2024-03-10T19:18:50Z DEBUG candelabra::confirmation] Saving choices for /opt/candelabra/src/tests/example_mapping/src/types.pr.rs [2024-03-10T19:18:50Z DEBUG primrose::selector] Setting up directories [2024-03-10T19:18:50Z DEBUG primrose::selector] Parsing into blocks [2024-03-10T19:18:50Z DEBUG primrose::selector] Running type checker [2024-03-10T19:18:50Z DEBUG primrose::selector] Running analysis [2024-03-10T19:18:50Z DEBUG primrose::library_specs] Ignoring invalid library module /nix/store/arg3vck84cg7ah84s37qjc2qshavq5yx-source/crates/library/src/adaptive.rs [2024-03-10T19:18:50Z DEBUG primrose::library_specs] Ignoring invalid library module /nix/store/arg3vck84cg7ah84s37qjc2qshavq5yx-source/crates/library/src/profiler.rs [2024-03-10T19:18:50Z DEBUG primrose::library_specs] Ignoring invalid library module /nix/store/arg3vck84cg7ah84s37qjc2qshavq5yx-source/crates/library/src/traits.rs Compiling example_mapping v0.1.0 (/opt/candelabra/src/tests/example_mapping) Finished bench [optimized] target(s) in 2.94s Running benches/main.rs (/opt/candelabra/src/tests/target/release/deps/main-2ea61f050d4d0ca4) ┌────────────────────────────────────────────────────────────────────────────────────────────────────┬──────────┬──────────┬──────────┬─────────┬──────────┐ │ │ l15 │ l17 │ l24 │ l8 │ total │ ├────────────────────────────────────────────────────────────────────────────────────────────────────┼──────────┼──────────┼──────────┼─────────┼──────────┤ │ {("/opt/candelabra/src/tests/example_mapping/src/types.pr.rs", "Map"): std::collections::BTreeMap} │ 20587000 │ │ 43380000 │ 5658000 │ 69625000 │ │ {("/opt/candelabra/src/tests/example_mapping/src/types.pr.rs", "Map"): std::collections::HashMap} │ │ 11323000 │ 23742000 │ 3198900 │ 38263900 │ └────────────────────────────────────────────────────────────────────────────────────────────────────┴──────────┴──────────┴──────────┴─────────┴──────────┘ \begin{center} \begin{tabular}{|c|c|c|c|c|c|} & l15 & l17 & l24 & l8 & total \\ \hline \{("/opt/candelabra/src/tests/example\_mapping/src/types.pr.rs", "Map"): std::collections::BTreeMap\} & 20587000 & & 43380000 & 5658000 & 69625000 \\ \{("/opt/candelabra/src/tests/example\_mapping/src/types.pr.rs", "Map"): std::collections::HashMap\} & & 11323000 & 23742000 & 3198900 & 38263900 \\ \end{tabular} \end{center} section_end:1710098365:compare-example_mapping