From 21d59a6542ffc1bc110a9bf465b5c0464bd0f562 Mon Sep 17 00:00:00 2001 From: Aria Shrimpton Date: Thu, 25 Jan 2024 21:52:06 +0000 Subject: fix missing get operations when profiling --- src/crates/candelabra/src/profiler.rs | 4 ++++ 1 file changed, 4 insertions(+) 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 { "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 }) } -- cgit v1.2.3