Skip to content

Commit

Permalink
Time the route snapper setup. Right now in the larger Bristol area, w…
Browse files Browse the repository at this point in the history
…e hang the browser for a full 2s. #23
  • Loading branch information
dabreegster committed Nov 17, 2022
1 parent a7b2b34 commit cb0dff1
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions route-snapper/lib.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,9 @@ export class RouteSnapper {

this.app = app;
this.map = app.map;
console.time("Deserialize and setup JsRouteSnapper");
this.inner = new JsRouteSnapper(mapBytes);
console.timeEnd("Deserialize and setup JsRouteSnapper");
console.log("JsRouteSnapper ready, waiting for idle event");
this.active = false;

Expand Down

0 comments on commit cb0dff1

Please sign in to comment.