question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Speed up cartesian axes supplyDefaults

See original GitHub issue

From https://github.com/plotly/plotly.js/pull/2527, Plots.supplyDefaults takes > 100ms at 50x50 subplots which feels like an eternity when zooming.

  • Getting rid of indexOf into axis lists would be a good start (perhaps experimenting with ES6 Map and Set could be worthwhile)
  • Perhaps we could try opening a partial Plots.supplyDefaults pathway, that would only update a subset of the graph’s cartesian axes and their dependencies.

Issue Analytics

  • State:open
  • Created 5 years ago
  • Comments:5 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
alexcjohnsoncommented, Apr 19, 2018

So I’m thinking of moving this block out of Plots.linkSubplots and into the lsInner subroutine

Sounds reasonable. Another option - not necessarily mutually exclusive, we could do both in fact - would be to make another collation of subplots that maps each (x|y) axis onto the (y|x) axes it makes subplots with. That should substantially reduce the size and complexity of loops like this.

0reactions
etpinardcommented, Feb 24, 2020

Referencing https://github.com/plotly/plotly.js/issues/749 - moving away from the “relink everything approach” should speed up supplyDefaults in some scenarios.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Splom open items · Issue #2555 · plotly/plotly.js - GitHub
speed up cartesian axis defaults: Speed up cartesian axes supplyDefaults #2549; replacing getBoundingClientRect calls in Axes.doTicks ...
Read more >
pyspark - Spark - speed up cartesian product - Stack Overflow
I need to build a graph G=(N, F) where F(n) is the function that has as image the subset S of the words...
Read more >
plotly.js-gl2d-dist-min | Yarn - Package Manager
Use derequire browserify plugin to make bundling distributed npm package with browserify possible [#2905]; Speed up cartesian axis autorange edits (and thus ...
Read more >
z/OS MVS Programming: Workload Management Services - IBM
Period proportional aggregate speed plot. ... workload management cleans up the resources associated with the monitoring environment.
Read more >
ORIENT version 4.9 - Anthony Stone
'parent' site in the same molecule, and a molecule can be built up step by step, ... The site position can be specified...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found