diff options
author | David Sherret <dsherret@users.noreply.github.com> | 2022-01-17 17:09:43 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-01-17 17:09:43 -0500 |
commit | 1ab5dea367800defa264b633705f8b535bb167d9 (patch) | |
tree | 02a11d914b2efa629216142d910fdcdf65e35c40 /cli/lsp/performance.rs | |
parent | 3595f37b075b4f1f78081e240f29dfb3060e9225 (diff) |
refactor(lsp): remove `performance` from `StateSnapshot` (#13403)
Diffstat (limited to 'cli/lsp/performance.rs')
-rw-r--r-- | cli/lsp/performance.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/cli/lsp/performance.rs b/cli/lsp/performance.rs index d251e012f..05e586ffd 100644 --- a/cli/lsp/performance.rs +++ b/cli/lsp/performance.rs @@ -72,11 +72,11 @@ impl From<PerformanceMark> for PerformanceMeasure { /// /// The structure will limit the size of measurements to the most recent 1000, /// and will roll off when that limit is reached. -#[derive(Debug, Clone)] +#[derive(Debug)] pub struct Performance { - counts: Arc<Mutex<HashMap<String, u32>>>, + counts: Mutex<HashMap<String, u32>>, max_size: usize, - measures: Arc<Mutex<VecDeque<PerformanceMeasure>>>, + measures: Mutex<VecDeque<PerformanceMeasure>>, } impl Default for Performance { |