G2Plot icon indicating copy to clipboard operation
G2Plot copied to clipboard

🐛 [BUG] 切换数据量cpu就一直很高

Open wuyx0914 opened this issue 3 years ago • 2 comments

🐛 Bug description [Please make everyone to understand it]

Please provide a link by forking these links G2Plot or GitHub repo, a minimal reproduction.

  • Required Link to minimal reproduction:

📷 Step to reproduce

https://g2plot.antv.vision/en/examples/dynamic-plots/basic#dynamic-spline

  1. 把for (let i = -19; i <= 0; i += 1) { 改成 for (let i = -1999; i <= 0; i += 1) { 2.再把1999改回19,重复几次后,cpu保持100%以上

🏞 Expected result

cpu恢复正常

🚑 Any additional [like screenshots]

一开始 image 多次修改后 image

  • G2Plot Version:
  • 2.4.20
  • Platform:

wuyx0914 avatar Jul 18 '22 04:07 wuyx0914

切换浏览器看看会不会

cdx111 avatar Jul 18 '22 10:07 cdx111

切换浏览器看看会不会

用chrome和firefox最新版一样的问题,数据量恢复成20也会有明显的卡顿

wuyx0914 avatar Jul 19 '22 02:07 wuyx0914