Skip to content
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

Performance #293

Open
samuelmf1 opened this issue Nov 25, 2024 · 1 comment
Open

Performance #293

samuelmf1 opened this issue Nov 25, 2024 · 1 comment

Comments

@samuelmf1
Copy link

Hi there,

I am wondering if anyone has input about the performance of locuszoom.js? What kind of lag might I anticipate if building it into a React app?

TIA

@abought
Copy link
Member

abought commented Nov 25, 2024

Generally we've found performance to be pretty snappy, as long as you are careful to avoid excessive re-renders. (a common pitfall in any web framework, where changes may happen automatically)

Here's a live version of LZ.js rendered using vue.js as a baseline:
https://my.locuszoom.org/gwas/236887/region/?chrom=16&start=53609247&end=54009247

Under the hood, LZ tries to handle really dense regions by combining adjacent points, which means that even bigger datasets shouldn't overwhelm the renderer in most cases.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants