Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Worker refactor #3404

Merged
merged 2 commits into from
Oct 19, 2016
Merged

Worker refactor #3404

merged 2 commits into from
Oct 19, 2016

Conversation

jfirebaugh
Copy link
Contributor

Clean up and simplify WorkerTile#parse; retain correct layer order throughout the layout process.

Fixes #3394.

Launch Checklist

  • briefly describe the changes in this PR
  • write tests for all new functionality
  • post benchmark scores
  • manually test the debug page

Benchmarks

map-load

master 875edf2: 116 ms
worker-refactor 317c921: 88 ms

style-load

master 875edf2: 95 ms
worker-refactor 317c921: 98 ms

buffer

master 875edf2: 1,065 ms
worker-refactor 317c921: 1,106 ms

fps

master 875edf2: 60 fps
worker-refactor 317c921: 60 fps

frame-duration

master 875edf2: 7.4 ms, 0% > 16ms
worker-refactor 317c921: 7.5 ms, 1% > 16ms

query-point

master 875edf2: 1.03 ms
worker-refactor 317c921: 1.15 ms

query-box

master 875edf2: 88.51 ms
worker-refactor 317c921: 90.13 ms

geojson-setdata-small

master 875edf2: 8 ms
worker-refactor 317c921: 7 ms

geojson-setdata-large

master 875edf2: 103 ms
worker-refactor 317c921: 96 ms

Copy link
Member

@mourner mourner left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks so much better!

@mourner mourner merged commit 15960ff into master Oct 19, 2016
@mourner mourner deleted the worker-refactor branch October 19, 2016 08:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants