Merge remote-tracking branch 'origin/withConsoleLog' (reverted from commit b14b6616b2)

This commit is contained in:
Pitchaya Boonsarngsuk
2018-02-06 13:14:30 +00:00
parent 340be450b8
commit 3bbd39f04d
2 changed files with 0 additions and 4 deletions

View File

@@ -113,14 +113,11 @@ export default function (sim, forceS, forceF) {
} }
event.call("startInterp"); event.call("startInterp");
let p1 = performance.now();
if (NUM_PIVOTS>=1) { if (NUM_PIVOTS>=1) {
interpolationPivots(sample, remainder, NUM_PIVOTS, interpDistanceFn, INTERP_FINE_ITS); interpolationPivots(sample, remainder, NUM_PIVOTS, interpDistanceFn, INTERP_FINE_ITS);
} else { } else {
interpBruteForce(sample, remainder, interpDistanceFn, INTERP_FINE_ITS); interpBruteForce(sample, remainder, interpDistanceFn, INTERP_FINE_ITS);
} }
let p2 = performance.now();
console.log("Interpolation time: " + (p2 - p1));
event.call("fullTick"); event.call("fullTick");
alreadyRanIterations = 0; alreadyRanIterations = 0;

View File

@@ -66,7 +66,6 @@ export default function () {
if(velocityDiff<stableVelocity){ if(velocityDiff<stableVelocity){
stableVeloHandler(); stableVeloHandler();
} }
else console.log(velocityDiff);
} }
} }