Comment out performance statistics debug code
authorJérôme Benoit <jerome.benoit@sap.com>
Mon, 2 Jan 2023 08:15:33 +0000 (09:15 +0100)
committerJérôme Benoit <jerome.benoit@sap.com>
Mon, 2 Jan 2023 08:15:33 +0000 (09:15 +0100)
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
src/performance/PerformanceStatistics.ts

index 8dae1bea1712ee44b3f098106d4e064f286acbae..5f036805460662678f4ee44c1253ee6cfd9dd748 100644 (file)
@@ -140,11 +140,11 @@ export default class PerformanceStatistics {
   private initializePerformanceObserver(): void {
     this.performanceObserver = new PerformanceObserver((performanceObserverList) => {
       const lastPerformanceEntry = performanceObserverList.getEntries()[0];
+      // logger.debug(
+      //   `${this.logPrefix()} '${lastPerformanceEntry.name}' performance entry: %j`,
+      //   lastPerformanceEntry
+      // );
       this.addPerformanceEntryToStatistics(lastPerformanceEntry);
-      logger.debug(
-        `${this.logPrefix()} '${lastPerformanceEntry.name}' performance entry: %j`,
-        lastPerformanceEntry
-      );
     });
     this.performanceObserver.observe({ entryTypes: ['measure'] });
   }