fixes, cleaned up noise in the developer console

This commit is contained in:
zadam
2020-02-08 10:40:58 +01:00
parent 9acf723a9a
commit 81f4966a1a
12 changed files with 45 additions and 36 deletions

View File

@@ -28,7 +28,7 @@ export default class Component {
const end = Date.now();
if (end - start > 10) {
if (end - start > 10 && glob.PROFILING_LOG) {
console.log(`Event ${name} in component ${this.componentId} took ${end-start}ms`);
}