antvis/G2

高频率绘制卡顿问题 #1532

Naclplus posted onGitHub

  • I have searched the issues of this repository and believe that this is not a duplicate.

https://antv.alipay.com/zh-cn/f2/3.x/index.html

Steps to reproduce

历史数据有1000条,两组图表,一个分时线状图,一个成交量柱状图,通过Websocket大约每10-20毫秒就会刷新数据,频繁的调用changeData

What is expected?

如何解决高频率传入数据导致的卡顿

What is actually happening?

丢帧,卡顿严重 在低端机器会导致崩溃

Environment Info
g2 3.3.4
System IOS/Android
Browser 默认原生/Safari/WebView

<!-- generated by antv-issue-helper. DO NOT REMOVE -->


Fund this Issue

$0.00
Funded

Pull requests