René's URL Explorer Experiment


Title: Fix scattergl plot freezing up on hover by emilykl · Pull Request #8052 · plotly/plotly.js · GitHub

Open Graph Title: Fix scattergl plot freezing up on hover by emilykl · Pull Request #8052 · plotly/plotly.js

X Title: Fix scattergl plot freezing up on hover by emilykl · Pull Request #8052 · plotly/plotly.js

Description: Open-source JavaScript charting library behind Plotly and Dash - Fix scattergl plot freezing up on hover by emilykl · Pull Request #8052 · plotly/plotly.js

Open Graph Description: Closes #5927 Closes #5790 Closes #8036 (Supersedes #7998) Fix unreasonably slow scattergl hover behavior (to the point of freezing) in the default case. Even with this fix, the hover is still somew...

X Description: Closes #5927 Closes #5790 Closes #8036 (Supersedes #7998) Fix unreasonably slow scattergl hover behavior (to the point of freezing) in the default case. Even with this fix, the hover is still somew...

Opengraph URL: https://github.com/plotly/plotly.js/pull/8052

X: @github

direct link

Domain: github.com

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322
route-pattern/_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format)
route-controllervoltron_pull_requests_fragments
route-actionpull_request_layout
fetch-noncev2:abaf79d4-fb92-13d7-b716-23b45cf56a61
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idCCF4:2D2F2F:2ED83E8:3BCA686:6B01B3CE
html-safe-nonce38582760056a170db156fc4563a1e5158968675554082622656d5c5595b1dee4
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDQ0Y0OjJEMkYyRjoyRUQ4M0U4OjNCQ0E2ODY6NkIwMUIzQ0UiLCJ2aXNpdG9yX2lkIjoiODU0NTk4Mjc5NzU5MDkzNDQ3OCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmacfef1be0ec1e1851ad67143403e7a018032c6385b4a65a3b348520af87717e35b
hovercard-subject-tagpull_request:4560733651
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/pull_requests_fragments/pull_request_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/plotly/plotly.js/8052/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/da7581ad9e686252038c404f1983e6e235052ef14580ab0332424835b65dc168/plotly/plotly.js/pull/8052
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/da7581ad9e686252038c404f1983e6e235052ef14580ab0332424835b65dc168/plotly/plotly.js/pull/8052
og:image:altCloses #5927 Closes #5790 Closes #8036 (Supersedes #7998) Fix unreasonably slow scattergl hover behavior (to the point of freezing) in the default case. Even with this fix, the hover is still somew...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameemilykl
hostnamegithub.com
expected-hostnamegithub.com
Nonecc5dfdd32f62ebd3223cab3af3aa2b268d3605218237326a48a99d1efd89495c
turbo-cache-controlno-cache
go-importgithub.com/plotly/plotly.js git https://github.com/plotly/plotly.js.git
octolytics-dimension-user_id5997976
octolytics-dimension-user_loginplotly
octolytics-dimension-repository_id45646037
octolytics-dimension-repository_nwoplotly/plotly.js
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id45646037
octolytics-dimension-repository_network_root_nwoplotly/plotly.js
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release8c77c9e8439031ad54c75a250694842892f693e1
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-namepull-requests

Links:

Skip to contenthttps://github.com/plotly/plotly.js/pull/8052#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fplotly%2Fplotly.js%2Fpull%2F8052
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fplotly%2Fplotly.js%2Fpull%2F8052
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fpull_requests_fragments%2Fpull_request_layout&source=header-repo&source_repo=plotly%2Fplotly.js
Reloadhttps://github.com/plotly/plotly.js/pull/8052
Reloadhttps://github.com/plotly/plotly.js/pull/8052
Reloadhttps://github.com/plotly/plotly.js/pull/8052
plotlyhttps://github.com/plotly
plotly.jshttps://github.com/plotly/plotly.js
Codehttps://github.com/plotly/plotly.js
Issues726 (726)https://github.com/plotly/plotly.js/issues
Pull requests84 (84)https://github.com/plotly/plotly.js/pulls
Actionshttps://github.com/plotly/plotly.js/actions
Security and qualityhttps://github.com/plotly/plotly.js/security
Insightshttps://github.com/plotly/plotly.js/insights
https://github.com/plotly/plotly.js
camdecosterhttps://github.com/camdecoster
plotly:mainhttps://github.com/plotly/plotly.js/tree/main
emilykl:fix-slow-scattergl-hover-emilyklhttps://github.com/emilykl/plotly.js/tree/fix-slow-scattergl-hover-emilykl
Conversationhttps://github.com/plotly/plotly.js/pull/8052
Commits7 (7)https://github.com/plotly/plotly.js/pull/8052/commits
Checkshttps://github.com/plotly/plotly.js/pull/8052/checks
Files changedhttps://github.com/plotly/plotly.js/pull/8052/files
Fix scattergl plot freezing up on hoverhttps://github.com/plotly/plotly.js/pull/8052#top
camdecosterhttps://github.com/camdecoster
plotly:mainhttps://github.com/plotly/plotly.js/tree/main
emilykl:fix-slow-scattergl-hover-emilyklhttps://github.com/emilykl/plotly.js/tree/fix-slow-scattergl-hover-emilykl
https://github.com/emilykl
emilyklhttps://github.com/emilykl
Sep 17, 2026https://github.com/plotly/plotly.js/pull/8052#issue-5490071490
Please reload this pagehttps://github.com/plotly/plotly.js/pull/8052
#5927https://github.com/plotly/plotly.js/issues/5927
#5790https://github.com/plotly/plotly.js/issues/5790
#8036https://github.com/plotly/plotly.js/issues/8036
#7998https://github.com/plotly/plotly.js/pull/7998
#8036https://github.com/plotly/plotly.js/issues/8036
#8036https://github.com/plotly/plotly.js/issues/8036
which triggers us to use a tree data structure for searching through points, rather than a plain arrayhttps://github.com/plotly/plotly.js/blob/main/src/traces/scattergl/calc.js#L77
https://github.com/plotly/point-clusterhttps://github.com/plotly/point-cluster
herehttps://github.com/plotly/plotly.js/blob/f618df5fe66945df1a165d04dfe19b91f724f927/src/traces/scattergl/hover.js#L29
Please reload this pagehttps://github.com/plotly/plotly.js/pull/8052
emilyklhttps://github.com/emilykl
September 17, 2026 11:25https://github.com/plotly/plotly.js/pull/8052#commits-pushed-dc05127
https://github.com/emilykl
add check before searching all points for drawing spikelines (perform…https://github.com/plotly/plotly.js/pull/8052/commits/dc05127b8e6f922da3949918618fa055cf0da625
dc05127https://github.com/plotly/plotly.js/pull/8052/commits/dc05127b8e6f922da3949918618fa055cf0da625
https://github.com/emilykl
add testshttps://github.com/plotly/plotly.js/pull/8052/commits/4d086acd472fa399e5e6fef1509c397b36656521
4d086achttps://github.com/plotly/plotly.js/pull/8052/commits/4d086acd472fa399e5e6fef1509c397b36656521
https://github.com/emilykl
emilyklhttps://github.com/emilykl
Sep 17, 2026 https://github.com/plotly/plotly.js/pull/8052#ref-pullrequest-5293779524
Fix slow scattergl hover #7998 https://github.com/plotly/plotly.js/pull/7998
https://github.com/emilykl
emilyklhttps://github.com/emilykl
Sep 17, 2026https://github.com/plotly/plotly.js/pull/8052#event-31335186993
https://github.com/emilykl
emilyklhttps://github.com/emilykl
Sep 17, 2026https://github.com/plotly/plotly.js/pull/8052#event-31336986754
https://github.com/emilykl
add draftloghttps://github.com/plotly/plotly.js/pull/8052/commits/6285b441f77a59195487bd0d2b781575398e6fbf
6285b44https://github.com/plotly/plotly.js/pull/8052/commits/6285b441f77a59195487bd0d2b781575398e6fbf
https://github.com/robertclaus
robertclaushttps://github.com/robertclaus
KoolADE85https://github.com/KoolADE85
September 17, 2026 19:25https://github.com/plotly/plotly.js/pull/8052#event-31344749342
https://github.com/robertclaus
robertclaushttps://github.com/robertclaus
KoolADE85https://github.com/KoolADE85
Sep 17, 2026https://github.com/plotly/plotly.js/pull/8052#event-31344754057
https://github.com/archmoj
archmojhttps://github.com/archmoj
Sep 18, 2026 https://github.com/plotly/plotly.js/pull/8052#pullrequestreview-5242655724
View reviewed changes https://github.com/plotly/plotly.js/pull/8052/files/6285b441f77a59195487bd0d2b781575398e6fbf
src/components/fx/hover.jshttps://github.com/plotly/plotly.js/pull/8052/files/6285b441f77a59195487bd0d2b781575398e6fbf#diff-754e3dde48df955de63f6c76eb1c43fed92a3931b9d7f51035a2d400029c8063
archmojhttps://github.com/archmoj
Sep 18, 2026https://github.com/plotly/plotly.js/pull/8052#discussion_r4042467627
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/plotly/plotly.js/pull/8052
emilyklhttps://github.com/emilykl
Sep 18, 2026https://github.com/plotly/plotly.js/pull/8052#discussion_r4048017242
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/plotly/plotly.js/pull/8052
archmojhttps://github.com/archmoj
Sep 18, 2026https://github.com/plotly/plotly.js/pull/8052#discussion_r4048133438
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/plotly/plotly.js/pull/8052
emilyklhttps://github.com/emilykl
Sep 22, 2026https://github.com/plotly/plotly.js/pull/8052#discussion_r4071991477
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/plotly/plotly.js/pull/8052
https://github.com/archmoj
archmojhttps://github.com/archmoj
Sep 18, 2026 https://github.com/plotly/plotly.js/pull/8052#pullrequestreview-5242724003
View reviewed changes https://github.com/plotly/plotly.js/pull/8052/files/6285b441f77a59195487bd0d2b781575398e6fbf
src/components/fx/hover.jshttps://github.com/plotly/plotly.js/pull/8052/files/6285b441f77a59195487bd0d2b781575398e6fbf#diff-754e3dde48df955de63f6c76eb1c43fed92a3931b9d7f51035a2d400029c8063
archmojhttps://github.com/archmoj
Sep 18, 2026https://github.com/plotly/plotly.js/pull/8052#discussion_r4042521770
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/plotly/plotly.js/pull/8052
emilyklhttps://github.com/emilykl
Sep 22, 2026https://github.com/plotly/plotly.js/pull/8052#discussion_r4071959982
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/plotly/plotly.js/pull/8052
emilyklhttps://github.com/emilykl
September 22, 2026 09:11https://github.com/plotly/plotly.js/pull/8052#commits-pushed-ab1856e
https://github.com/emilykl
changes from PR commentshttps://github.com/plotly/plotly.js/pull/8052/commits/ab1856eb79bfdba00b9615185cbe1da2552311a5
ab1856ehttps://github.com/plotly/plotly.js/pull/8052/commits/ab1856eb79bfdba00b9615185cbe1da2552311a5
https://github.com/camdecoster
Merge remote-tracking branch 'origin/main' into fix-slow-scattergl-ho…https://github.com/plotly/plotly.js/pull/8052/commits/69b773681b558a2529570c874f32f2b120f37ccc
69b7736https://github.com/plotly/plotly.js/pull/8052/commits/69b773681b558a2529570c874f32f2b120f37ccc
https://github.com/emilykl
Merge branch 'main' into fix-slow-scattergl-hover-emilyklhttps://github.com/plotly/plotly.js/pull/8052/commits/68a653fed7671f492315e896dddad0d6146cf34a
68a653fhttps://github.com/plotly/plotly.js/pull/8052/commits/68a653fed7671f492315e896dddad0d6146cf34a
https://github.com/camdecoster
Update draftloghttps://github.com/plotly/plotly.js/pull/8052/commits/7bfe4788662eb006c1c978d605cd42288db8f875
7bfe478https://github.com/plotly/plotly.js/pull/8052/commits/7bfe4788662eb006c1c978d605cd42288db8f875
https://github.com/camdecoster
camdecosterhttps://github.com/camdecoster
Oct 20, 2026 https://github.com/plotly/plotly.js/pull/8052#pullrequestreview-5592204708
View reviewed changes https://github.com/plotly/plotly.js/pull/8052/files/7bfe4788662eb006c1c978d605cd42288db8f875
camdecosterhttps://github.com/camdecoster
https://github.com/plotly/plotly.js/pull/8052#pullrequestreview-5592204708
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
@emilyklhttps://github.com/emilykl
Please reload this pagehttps://github.com/plotly/plotly.js/pull/8052
https://github.com/camdecoster
camdecosterhttps://github.com/camdecoster
c31fee7https://github.com/plotly/plotly.js/commit/c31fee79fb95744a4aa702ab889158c694df7ddc
Oct 20, 2026https://github.com/plotly/plotly.js/pull/8052#event-33788750181
Please reload this pagehttps://github.com/plotly/plotly.js/pull/8052
https://github.com/camdecoster
camdecosterhttps://github.com/camdecoster
Oct 20, 2026 https://github.com/plotly/plotly.js/pull/8052#ref-issue-5950295670
[BUG]: scattergl hover is slow above 100k points #8134 https://github.com/plotly/plotly.js/issues/8134
https://github.co/hiddenchars
https://github.com/plotly/plotly.js/pull/{{ revealButtonHref }}
Sign up for freehttps://github.com/join?source=comment-repo
Sign in to commenthttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fplotly%2Fplotly.js%2Fpull%2F8052
https://github.com/camdecoster
camdecoster https://github.com/camdecoster
https://github.com/plotly/plotly.js/pull/8052/files/7bfe4788662eb006c1c978d605cd42288db8f875
https://github.com/KoolADE85
KoolADE85 https://github.com/KoolADE85
https://github.com/archmoj
archmoj https://github.com/archmoj
https://github.com/plotly/plotly.js/pull/8052/files/6285b441f77a59195487bd0d2b781575398e6fbf
Please reload this pagehttps://github.com/plotly/plotly.js/pull/8052
https://github.com/KoolADE85
KoolADE85 https://github.com/KoolADE85
[BUG]: scattergl hover freezes with more than 100.000 points all with different x but same y https://github.com/plotly/plotly.js/issues/8036
Scattergl plot is sometimes slow to interact with even with moderate number of points https://github.com/plotly/plotly.js/issues/5927
Performance Issues with large data sets since 2.x.x https://github.com/plotly/plotly.js/issues/5790
Please reload this pagehttps://github.com/plotly/plotly.js/pull/8052
https://github.com/emilykl
https://github.com/camdecoster
https://github.com/archmoj
https://github.com/KoolADE85
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.