antvis/G2

The issue has been closed
计时器造成CPU开销耗电 #3579
samuelhsin posted onGitHub
- I have searched the issues of this repository and believe that this is not a duplicate.
Reproduction link
https://g2.antv.vision/en/examples/case/line#line1
Steps to reproduce
tab停在当页,打开Dev Tools 然后查看CPU使用率,无法降到1%以下
Environment | Info |
---|---|
g2 | 4.1.24 |
System | - |
Browser | - |
应该d3-timer.js的一个timer造成的,可以查看Timeline.js的初始化定时器部份
<!-- generated by antv-issue-helper. DO NOT REMOVE -->