Remove profiling information for vdom

This commit is contained in:
Robin Ward 2016-02-22 16:31:49 -05:00
parent 6d06979da6
commit d4091d579d
1 changed files with 0 additions and 3 deletions

View File

@ -54,8 +54,6 @@ export default Ember.Component.extend({
rerenderWidget() { rerenderWidget() {
Ember.run.cancel(this._timeout); Ember.run.cancel(this._timeout);
if (this._rootNode) { if (this._rootNode) {
const t0 = new Date().getTime();
const opts = { model: this.get('model') }; const opts = { model: this.get('model') };
const newTree = new this._widgetClass(this.get('args'), this.container, opts); const newTree = new this._widgetClass(this.get('args'), this.container, opts);
@ -63,7 +61,6 @@ export default Ember.Component.extend({
const patches = diff(this._tree || this._rootNode, newTree); const patches = diff(this._tree || this._rootNode, newTree);
this._rootNode = patch(this._rootNode, patches); this._rootNode = patch(this._rootNode, patches);
this._tree = newTree; this._tree = newTree;
console.log('render: ', new Date().getTime() - t0);
if (this._afterRender) { if (this._afterRender) {
this._afterRender(); this._afterRender();