iview When [Bug Report]table has more data, the browser occupies too much memory.

ahy6op9u  于 4个月前  发布在  其他
关注(0)|答案(2)|浏览(49)

Environment

win10

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数据较多时占用的内存低

ct2axkht

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

  1. data 100
    The original form page takes up memory: 18.3M
    Table component page takes up memory: 45.6M
  2. data 200
    The original form page takes up memory: 19.2M
    Table component page takes up memory: 46.1M
  3. data 400
    The original form page takes up memory: 21.9M
    Table component page takes up memory: 148.1M
  4. data 800
    The original form page takes up memory: 27.8M
    Table component page takes up memory: 290M
  5. data 800
    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.
vjrehmav

vjrehmav2#

This problem is more serious in iView3 。。。。

相关问题