Clear performance mark after usage.
authorJérôme Benoit <jerome.benoit@sap.com>
Sun, 15 Aug 2021 08:23:21 +0000 (10:23 +0200)
committerJérôme Benoit <jerome.benoit@sap.com>
Sun, 15 Aug 2021 08:23:21 +0000 (10:23 +0200)
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
src/utils/PerformanceStatistics.ts

index 4ef732f7edee028756b976f316caa4f28f7218ee..6586b06af00e5895270b64657b5bd29999c859dc 100644 (file)
@@ -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 {