Skip to content

dataset performance for large data #11907

@fxxjdedd

Description

@fxxjdedd

Version

4.5.0

Reproduction link

https://codepen.io/fxxjdedd/pen/OJPgvxZ?editors=1111

Steps to reproduce

分别使用optionoptionUsingDataset这两个配置进行setOption

What is expected?

不应该有非常大的性能差距

What is actually happening?

在series超过一定数量(大概100个)后,dataset性能会越来越差,甚至会直接崩溃。


  1. 希望能优化legend.selected,对于隐藏的系列不要参与到首次渲染之中 #11806 会跟这条issue有一定的关系
  2. 尝试在我的代码里手动把dataset转成original的数据形式,发现性能提升明显,猜测是echarts内部代码问题
  3. 如果dataset的确有性能问题,应该在文档里加以描述

Metadata

Metadata

Assignees

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions