antvis / antvis/G2Plot

🐛 [BUG] G2Plot examples webpages use too much CPU costs!

Open
#3,782 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

> When browsing examples in g2plot website, the CPU costs just run high, which make my laptop computer's fan running loudly. For example: https://g2plot.antv.antgroup.com/examples/more-plots/stock/#custom-crosshairs

* _Required_ **https://g2plot.antv.antgroup.com/examples/more-plots/sunburst#label**:

### 📷 Step to reproduce

### 🏞 Expected result

### 🚑 Any additional

* **Current Version**:
* **Platform**:

Contributor guide

Open the contributing guide

Research direction

Reproduce the high CPU usage on the linked stock example and the required sunburst example, then profile the webpages to identify the source of the cost. Done means the examples no longer cause unusually high CPU usage during browsing; the issue provides no file or test references.

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
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.