-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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
Stringify layers for faster worker transfer #3172
Conversation
2465d62
to
6ad9724
Compare
LGTM
How many ms is the time-to-first-render now? Does the map-load bench capture this metric? Could we write a benchmark that does capture this metric? |
@lucaswoj looking at the timeline, it's still around 2000ms, but I haven't captured it exactly yet, and the benchmarks don't capture this too — I thought about adding one, although this should be a separate PR. |
Benchmarks barely show a ~50-100ms difference, so it might not be worth the added hackiness. |
@mourner If this change speeds up the |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Benchmarks barely show a ~50-100ms difference, so it might not be worth the added hackiness.
This PR is mergeable. Your call on whether or not to merge it.
Thanks for testing this!
Closing as stale. We can come back to this at any time. |
Ref #3153, not the cleanest change but appears to reduce time-to-fist-render by ~150ms.
Couldn’t run benchmarks yet because they seem to be broken at the moment (only run on master).
cc @jfirebaugh @lucaswoj