antvis / antvis/G2Plot

🐛 [BUG]官网示例有性能问题

Open
#3,671 0 comments 0 reactions 0 assignees View on GitHub
Bug
Dominant language
TypeScript
Stars
2.7k
Forks
591
PR merge metrics
No merged PRs in 30d

Description

### 🐛 Bug description [Please make everyone to understand it]

> Please provide a link by forking these links [G2Plot](https://codesandbox.io/s/g2plot-issue-template-gzfdq?file=/index.ts) or GitHub repo, a minimal reproduction.

**https://g2plot.antv.antgroup.com/examples/case/statistical-scenario/#trend**:

### 📷 Step to reproduce
网页放置一段时间后CPU占用会一直上升,最多到250%(macbook M1 pro)

### 🏞 Expected result
CPU占用正常

### 🚑 Any additional [like screenshots]
![image](https://github.com/antvis/G2Plot/assets/17666463/6e7f7280-1356-4004-bfff-00948787faa4)

* **G2Plot Version**:
* **Platform**: mac

Contributor guide

Open the contributing guide

Research direction

Start with the linked G2Plot statistical-scenario trend example and reproduce the reported CPU increase after leaving the page open on macOS. Trace the example's behavior over time; done means CPU usage no longer continually rises during the same idle-period test.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
data-visualization, performance
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.