From 02c05c6711fa024ebf62ec0afec71cc8b761c57f Mon Sep 17 00:00:00 2001 From: Pitchaya Boonsarngsuk <2285135b@student.gla.ac.uk> Date: Mon, 5 Feb 2018 20:04:51 +0000 Subject: [PATCH] Remove interpolation time metric --- src/hybridSimulation.js | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/hybridSimulation.js b/src/hybridSimulation.js index 8501f4d..6131b8d 100644 --- a/src/hybridSimulation.js +++ b/src/hybridSimulation.js @@ -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;