-
Notifications
You must be signed in to change notification settings - Fork 534
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
Sluggish crosshair after dynamic updates #138
Comments
That's an interesting one. I observed the issue on that site, but when I attempt to inspect it becomes performant, even if i'm careful not to cause a redraw. Would be helpful if you could provide sample code of the isolated issue and any specific observations. Nice color scheme btw |
yeah, it's odd. Will see if I can reproduce the issue with minimal code. Thanks. |
Page to reproduce the issue: http://bl.ocks.org/carlos8f/raw/ac8677ff6f6432b87b4d7fed25931e7d/ Minimal 2-line fix (disable CPU profile: https://gist.github.com/carlos8f/8a0d617739f35f7aa7a9af064c9fc76c#gistcomment-1852166 working on this at https://gist.github.com/carlos8f/8a0d617739f35f7aa7a9af064c9fc76c |
There's a perf. bottleneck in the |
Sluggish issue is still present after patch, although my CPU profiler is no longer showing scale() as bottleneck |
Nice pick up! Will give the pr a try see if it fixes for me. Thank you. |
Still a problem then? |
still a problem after those date/string optimizations, just takes slightly longer to accumulate slowness. |
…string constructor removal, remove Array.join * Adding financetime tests to ensure scale of null and undefined are handled gracefully * Removing String constructor, profiling appears quicker without * Removing usage of Array.join. Array.join is very slow in chrome
Great library! Works well, except for sluggish performance after a while. Tried hardware acceleration on and off. Any advice would be appreciated.
https://zenbot.s8f.org/
The text was updated successfully, but these errors were encountered: