aboutsummaryrefslogtreecommitdiff
path: root/src/crates
diff options
context:
space:
mode:
authorAria Shrimpton <me@aria.rip>2024-01-25 21:52:06 +0000
committerAria Shrimpton <me@aria.rip>2024-01-25 21:52:06 +0000
commit21d59a6542ffc1bc110a9bf465b5c0464bd0f562 (patch)
treec9246701876889b7cc2c8dd23f76dfde759018a1 /src/crates
parent983a1f5504512e9255d2bfa55cb9e5b4f904e78b (diff)
fix missing get operations when profiling
Diffstat (limited to 'src/crates')
-rw-r--r--src/crates/candelabra/src/profiler.rs4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/crates/candelabra/src/profiler.rs b/src/crates/candelabra/src/profiler.rs
index f12914b..8291b33 100644
--- a/src/crates/candelabra/src/profiler.rs
+++ b/src/crates/candelabra/src/profiler.rs
@@ -302,6 +302,10 @@ fn parse_output(contents: &str) -> Result<CollectionLifetime> {
"pop".to_string(),
lines.next().ok_or_else(missing_line_err)??,
);
+ op_counts.insert(
+ "get".to_string(),
+ lines.next().ok_or_else(missing_line_err)??,
+ );
Ok(CollectionLifetime { n, op_counts })
}