Incrementally render by sending the operator list by chunks as they're ready.

This commit is contained in:
Brendan Dahl 2013-07-31 11:17:36 -07:00
parent f7d2a09bf8
commit bf72bc94e2
11 changed files with 641 additions and 789 deletions

View file

@ -903,14 +903,14 @@ var StatTimer = (function StatTimerClosure() {
if (!this.enabled)
return;
if (name in this.started)
throw 'Timer is already running for ' + name;
warn('Timer is already running for ' + name);
this.started[name] = Date.now();
},
timeEnd: function StatTimer_timeEnd(name) {
if (!this.enabled)
return;
if (!(name in this.started))
throw 'Timer has not been started for ' + name;
warn('Timer has not been started for ' + name);
this.times.push({
'name': name,
'start': this.started[name],