From a1b11751790711955c663ea526d46240f4099534 Mon Sep 17 00:00:00 2001 From: Rafal Michalski Date: Tue, 11 Jun 2024 14:22:48 +0200 Subject: [PATCH] tests: memory consuption - update number of alloc/deallocations of the updated buffer backend to reflect changes in backend --- tests/tests.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/tests.rs b/tests/tests.rs index 1f4a55c..0b64af5 100644 --- a/tests/tests.rs +++ b/tests/tests.rs @@ -52,8 +52,8 @@ impl BackendStats for backend::StringBackend { impl BackendStats for backend::BufferBackend { const MIN_OVERHEAD: f64 = 1.35; const MAX_OVERHEAD: f64 = 1.58; - const MAX_ALLOCATIONS: usize = 43; - const MAX_DEALLOCATIONS: usize = 41; + const MAX_ALLOCATIONS: usize = 42; + const MAX_DEALLOCATIONS: usize = 40; const NAME: &'static str = "BufferBackend"; }