-
Notifications
You must be signed in to change notification settings - Fork 196
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
🐛多行头大数据(1w条左右)透视表渲染卡顿 #2693
Labels
Comments
感谢反馈, 会在后续优化 |
大哥啥时候发release呀,我也是这里数据一多占用内存很高,浏览器就崩了 |
lijinke666
added a commit
that referenced
this issue
May 15, 2024
9 tasks
lijinke666
added a commit
that referenced
this issue
May 17, 2024
🎉 This issue has been resolved in version @antv/s2-v2.0.0-next.21 🎉 The release is available on: Your semantic-release bot 📦🚀 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
🏷 Version
Sheet Type
🖋 Description
设置多行头并且数据量稍大(1w条左右)的情况下,透视表渲染明显卡顿,resize、拖拽表头宽高等操作都会变得很卡顿
如:
⌨️ Code Snapshots
用以下代码改下官网的在线示例 https://s2.antv.antgroup.com/examples/case/performance-compare#pivot
然后调整表头宽度,会看到明显卡顿:
🤔 Steps to Reproduce
可用上述代码在官网在线示例复现
😊 Expected Behavior
同样的代码,在 v1 版本表现良好,期望能达到 v1 的渲染性能或者更佳
😅 Current Behavior
debug 源码发现是每次计算高度时重新绘制了 text 取高度:
💻 System information
The text was updated successfully, but these errors were encountered: