Code: Select all
:setM time console.profile(function() { eval(PARAM) })
Moderators: winston, another_commander
Code: Select all
:setM time console.profile(function() { eval(PARAM) })
Code: Select all
:setM time eval("this._profileFunc = function() { " + PARAM + " };"); console.profile(this._profileFunc, this);
Code: Select all
Total time: 0.079941 ms
JavaScript: 0.012788 ms, native: 0.067153 ms
Code: Select all
Total time: 15.7563 ms
JavaScript: 0.010835 ms, native: 15.7455 ms
Code: Select all
Total time: 20.4347 ms
JavaScript: 6.41403 ms, native: 14.0207 ms
Code: Select all
"oolite-cinder" =
{
roles = "cinder";
like_ship = "asteroid";
heat_insulation = 10000;
};
Oolite Life is now revealed hereSelezen wrote:Apparently I was having a DaddyHoggy moment.
Oolite Life is now revealed hereSelezen wrote:Apparently I was having a DaddyHoggy moment.