huww98 / huww98/TimeChart

Splitting data into multiple series leads to excessive CPU usage and browser crashes

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

Description

Hi, Do you remember when you suggested [splitting the data into multiple series](https://github.com/huww98/TimeChart/issues/74#issuecomment-1906185448) to handle issue [#74](https://github.com/huww98/TimeChart/issues/74)?
I found that when I split the data into thousands of series, with millions of data points, it caused CPU overload and the browser crashed. And if I don't split them, it can load more than 1 billion data points.

- Browser: Chrome v122.0.6261.57

- CPU: 11th Gen Intel(R) Core(TM) i5-11400 @ 2.60GHz 2.59 GHz
![image](https://github.com/huww98/TimeChart/assets/16882858/06e7f8c6-e048-4ecf-8ae1-0031f7b7e07b)

![image](https://github.com/huww98/TimeChart/assets/16882858/f6a5b0ec-8370-4999-ba17-9506a6650b57)

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.