This commit is contained in:
Siarhei Fedartsou 2022-11-12 12:02:41 +01:00
parent 2eac9504e5
commit 824a725592

View File

@ -40,6 +40,7 @@ async function benchmark() {
const start = performance.now();
await route(waypoints);
const end = performance.now();
// record result in microseconds
performanceHistorgram.record(Math.ceil((end - start) * 1000));
}