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

the new array splice operation has performance 10+X slower on chrome #81

Open
madcat opened this issue Sep 21, 2024 · 0 comments
Open

Comments

@madcat
Copy link

madcat commented Sep 21, 2024

delete from beginning as:

arr.splice(0, 1024)

tested on 200k and 400k data points.

on safari / firefox it runs consistently at < 1ms.

but on chrome it runs respectively at around 10ms and #20ms.

this doesn't block rendering, but if data chunk callbacks are faster, it might be a problem.

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

1 participant