Environment
win10
Reproduction link
https://run.iviewui.com/e0iNWigE
Steps to reproduce
https://run.iviewui.com/e0iNWigE
https://run.iviewui.com/H9zjmo9e
原生表格和Table组件内存占用比较
1.数据100条
原生表格页面占用内存: 18.3M
Table组件页面占用内存: 45.6M
2.数据 200条
原生表格页面占用内存: 19.2M
Table组件页面占用内存: 46.1M
3.数据 400条
原生表格页面占用内存: 21.9M
Table组件页面占用内存: 148.1M
4.数据 800条
原生表格页面占用内存: 27.8M
Table组件页面占用内存: 290M
5.数据 1600条
原生表格页面占用内存: 38.5M
Table组件页面占用内存: 447M
What is expected?
table数据较多时占用的内存过高
What is actually happening?
table数据较多时占用的内存低
2条答案
按热度按时间ct2axkht1#
Translation of this issue:
Environment
Win10
Reproduction link
https://run.iviewui.com/e0iNWigE
Steps to reproduce
Https://run.iviewui.com/e0iNWigE
Https://run.iviewui.com/H9zjmo9e
Comparison of memory footprint between native and Table components
The original form page takes up memory: 18.3M
Table component page takes up memory: 45.6M
The original form page takes up memory: 19.2M
Table component page takes up memory: 46.1M
The original form page takes up memory: 21.9M
Table component page takes up memory: 148.1M
The original form page takes up memory: 27.8M
Table component page takes up memory: 290M
The original form page takes up memory: 38.5M
Table component page takes up memory: 447M
What is expected?
When table data is large, the memory is too high.
What is actually happening?
When table data is large, the memory is low.
vjrehmav2#
This problem is more serious in iView3 。。。。