huww98 / huww98/TimeChart

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

Open
#81 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
404
Forks
35
PR merge metrics
No merged PRs in 30d

Description

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.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.