Skip to content

Commit

Permalink
Initial profiling support
Browse files Browse the repository at this point in the history
Have tried many different numbers of repetitions, wait times and steps
paramater for the mouse move, but only ever showing one or two (very
rarely four) calls to shouldRefreshLandmarks() and not really sure why.

Actually, on further testing, it seems that the number of calls to
shouldRefreshLandmarks() varies across runs of the trace. Nowhere near
as many calls as actually happen are picked up (assuming this is down to
timing resolution), but the number picked up does vary across runs.

Still, the main purpose of this is to streamline the functions that take
the longest, i.e. the landmarks-finding code. Would like to grok this
whole tracing thing, though...
  • Loading branch information
matatk committed Nov 23, 2017
1 parent 2c30674 commit 2c6fba1
Show file tree
Hide file tree
Showing 4 changed files with 255 additions and 95 deletions.
3 changes: 3 additions & 0 deletions .eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@
"node": true
},
"extends": "eslint:recommended",
"parserOptions": {
"ecmaVersion": 2017
},
"root": true,
"rules": {
"block-scoped-var": "error",
Expand Down
Loading

0 comments on commit 2c6fba1

Please sign in to comment.