We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Right now, the Block and Ruler elements updating as you scroll is starting to have a real performance impact.
It's due to code like this:
https://github.com/GMOD/jbrowse-components/blob/master/packages/linear-genome-view/src/LinearGenomeView/components/ScaleBar.js#L59
and this:
https://github.com/GMOD/jbrowse-components/blob/master/packages/linear-genome-view/src/BasicTrack/components/TrackBlocks.js#L56
Need to reduce the rerenders of these blocks, using the techniques in https://mobx.js.org/best/react-performance.html
The text was updated successfully, but these errors were encountered:
A good 50% of the scrolling frame runtime is taken up by these block updates, which could probably be mostly eliminated:
Sorry, something went wrong.
Might be related to facebook/react#8669 since Block uses {props.children}
This is done to some extent. Further profiling could be done
No branches or pull requests
Right now, the Block and Ruler elements updating as you scroll is starting to have a real performance impact.
It's due to code like this:
https://github.com/GMOD/jbrowse-components/blob/master/packages/linear-genome-view/src/LinearGenomeView/components/ScaleBar.js#L59
and this:
https://github.com/GMOD/jbrowse-components/blob/master/packages/linear-genome-view/src/BasicTrack/components/TrackBlocks.js#L56
Need to reduce the rerenders of these blocks, using the techniques in https://mobx.js.org/best/react-performance.html
The text was updated successfully, but these errors were encountered: