From 333eb1003a19e24f6098da116f5cd716e37facb3 Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=A9r=C3=B4me=20Benoit?= Date: Sun, 15 Aug 2021 10:23:21 +0200 Subject: [PATCH] Clear performance mark after usage. MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Jérôme Benoit --- src/utils/PerformanceStatistics.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/utils/PerformanceStatistics.ts b/src/utils/PerformanceStatistics.ts index 4ef732f7..6586b06a 100644 --- a/src/utils/PerformanceStatistics.ts +++ b/src/utils/PerformanceStatistics.ts @@ -28,6 +28,7 @@ export default class PerformanceStatistics { public static endMeasure(name: string, beginId: string): void { performance.measure(name, beginId); + performance.clearMarks(beginId); } public addRequestStatistic(command: RequestCommand | IncomingRequestCommand, messageType: MessageType): void { -- 2.34.1