Remove interpolation time metric

This commit is contained in:
Pitchaya Boonsarngsuk
2018-02-05 20:04:51 +00:00
parent 31c1a2ab65
commit 02c05c6711

View File

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