From: Jérôme Benoit Date: Mon, 2 Jan 2023 08:15:33 +0000 (+0100) Subject: Comment out performance statistics debug code X-Git-Tag: v1.1.89~42 X-Git-Url: https://git.piment-noir.org/?a=commitdiff_plain;h=9d1dc4b12e36ca8037e22b9690935861a2b0f5de;p=e-mobility-charging-stations-simulator.git Comment out performance statistics debug code Signed-off-by: Jérôme Benoit --- diff --git a/src/performance/PerformanceStatistics.ts b/src/performance/PerformanceStatistics.ts index 8dae1bea..5f036805 100644 --- a/src/performance/PerformanceStatistics.ts +++ b/src/performance/PerformanceStatistics.ts @@ -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'] }); }