mirror of
https://github.com/overte-org/overte.git
synced 2025-04-20 02:23:57 +02:00
add profiling to controller-dispatcher
This commit is contained in:
parent
a9aa6df93e
commit
e9918ca599
1 changed files with 5 additions and 1 deletions
|
@ -26,7 +26,11 @@ Script.include("/~/system/libraries/controllerDispatcherUtils.js");
|
|||
var TARGET_UPDATE_HZ = 60; // 50hz good enough, but we're using update
|
||||
var BASIC_TIMER_INTERVAL_MS = 1000 / TARGET_UPDATE_HZ;
|
||||
|
||||
var PROFILE = true;
|
||||
var PROFILE = false;
|
||||
|
||||
if (typeof Test !== "undefined") {
|
||||
PROFILE = true;
|
||||
}
|
||||
|
||||
function ControllerDispatcher() {
|
||||
var _this = this;
|
||||
|
|
Loading…
Reference in a new issue