wip
This commit is contained in:
parent
2eac9504e5
commit
824a725592
@ -40,6 +40,7 @@ async function benchmark() {
|
|||||||
const start = performance.now();
|
const start = performance.now();
|
||||||
await route(waypoints);
|
await route(waypoints);
|
||||||
const end = performance.now();
|
const end = performance.now();
|
||||||
|
// record result in microseconds
|
||||||
performanceHistorgram.record(Math.ceil((end - start) * 1000));
|
performanceHistorgram.record(Math.ceil((end - start) * 1000));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user