Title: Suboptimal performance when rendering large amount of traces · Issue #1535 · plotly/plotly.js · GitHub
Open Graph Title: Suboptimal performance when rendering large amount of traces · Issue #1535 · plotly/plotly.js
X Title: Suboptimal performance when rendering large amount of traces · Issue #1535 · plotly/plotly.js
Description: Here is the testing script I kept the total data points fixed, and tested different combinations of amount of traces and amount of data points per trace: You could see that 5000 traces needs 17 seconds to render even it only renders 5000...
Open Graph Description: Here is the testing script I kept the total data points fixed, and tested different combinations of amount of traces and amount of data points per trace: You could see that 5000 traces needs 17 sec...
X Description: Here is the testing script I kept the total data points fixed, and tested different combinations of amount of traces and amount of data points per trace: You could see that 5000 traces needs 17 sec...
Opengraph URL: https://github.com/plotly/plotly.js/issues/1535
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Suboptimal performance when rendering large amount of traces","articleBody":"Here is the [testing script](https://jsfiddle.net/smileyhaowen/tf4bpk5w/3/)\r\n\r\nI kept the total data points fixed, and tested different combinations of amount of traces and amount of data points per trace:\r\n\r\n\r\n\r\nYou could see that 5000 traces needs 17 seconds to render even it only renders 5000 markers in total. But for the case of only 1 trace, scattergl could use that 17 seconds to render over 10 million markers!\r\n\r\nAnd by looking into the code I found that for each trace we created a Scene2D and a Shader, which get the shader reference and rebuild program. Is there anything we can optimize here?\r\n","author":{"url":"https://github.com/hy9be","@type":"Person","name":"hy9be"},"datePublished":"2017-03-30T15:17:12.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":7},"url":"https://github.com/1535/plotly.js/issues/1535"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:b656be36-5b26-feed-b48a-e01ff446396d |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | D966:2100CB:D4B968:11D1D6C:6A5B5DCA |
| html-safe-nonce | 9e5ae9e23ce548d4b4c7ca21dc42287877de603c5630af4e14f9ebe42e09e2e7 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEOTY2OjIxMDBDQjpENEI5Njg6MTFEMUQ2Qzo2QTVCNURDQSIsInZpc2l0b3JfaWQiOiIzMDc5NjQyMDIyOTAwNjIwNzQ2IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 639e0d4e56d784102795d907a8df8b70b549e249bec95c44fa03122b95665531 |
| hovercard-subject-tag | issue:218232612 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/plotly/plotly.js/1535/issue_layout |
| twitter:image | https://opengraph.githubassets.com/ec58fbb76b95913e6dba6a6213840a96896d27009f771c7abfb9ef224d8b8988/plotly/plotly.js/issues/1535 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/ec58fbb76b95913e6dba6a6213840a96896d27009f771c7abfb9ef224d8b8988/plotly/plotly.js/issues/1535 |
| og:image:alt | Here is the testing script I kept the total data points fixed, and tested different combinations of amount of traces and amount of data points per trace: You could see that 5000 traces needs 17 sec... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | hy9be |
| hostname | github.com |
| expected-hostname | github.com |
| None | 5290d7e14309ad1e76106a9c4237bd1041517e83ea182c8ab756752cb0c6940b |
| turbo-cache-control | no-preview |
| go-import | github.com/plotly/plotly.js git https://github.com/plotly/plotly.js.git |
| octolytics-dimension-user_id | 5997976 |
| octolytics-dimension-user_login | plotly |
| octolytics-dimension-repository_id | 45646037 |
| octolytics-dimension-repository_nwo | plotly/plotly.js |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 45646037 |
| octolytics-dimension-repository_network_root_nwo | plotly/plotly.js |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 9c975978430e9ad293956f2bbdaf153b1bd84a99 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width