Skip to content
This repository was archived by the owner on Mar 11, 2021. It is now read-only.

Commit 1e544b5

Browse files
author
bencompton
committed
Remove perf measurement code
1 parent e7cf658 commit 1e544b5

1 file changed

Lines changed: 0 additions & 10 deletions

File tree

src/utils/reactify-vue/react-element-creation/PropsProcessor.ts

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -104,8 +104,6 @@ export class PropsProcessor {
104104
private cachedPropKebabCase: {[camelCasedProp: string]: string};
105105

106106
public getProps(args, children, componentOrComponentName, resolvedComponent, vueComponentInstance) {
107-
const startTime = new Date()
108-
109107
this.addCurrentComponentAsParentOfChildren(children, vueComponentInstance);
110108

111109
const props = {};
@@ -120,14 +118,6 @@ export class PropsProcessor {
120118
this.handleEvents(resolvedComponent, args.on, vueComponentInstance, props)
121119
this.handleRef(args.ref, vueComponentInstance, props);
122120

123-
totalTime += new Date().getTime() - startTime.getTime();
124-
125-
clearTimeout(timeout);
126-
127-
timeout = window.setTimeout(() => {
128-
window.alert(totalTime);
129-
}, 2000)
130-
131121
return props;
132122
}
133123

0 commit comments

Comments
 (0)