Skip to content

[Perf] High CPU overload and user interaction freezed in SVG map (canvas & svg) #14875

@plainheart

Description

@plainheart

Version

5.1.1

Reproduction link

https://echarts.apache.org/examples/zh/editor.html?c=geo-svg-scatter-simple

Steps to reproduce

  • Open the reproduction link
  • Watch the CPU overload in default canvas renderer
  • Switch to svg renderer
  • Watch the CPU overload and effectScatter rendering
  • The effectScatter's animation becomes not smooth any more

What is expected?

Lower CPU overload and effectScatter has a smooth animation

What is actually happening?

High CPU overload and the animation of effectScatter is not smooth.

effectScatter with svg renderer

effectScatter with svg coord

Simple effectScatter

Others

I noticed that a strange zrender level named zr_100000 was added to the DOM.

Metadata

Metadata

Assignees

No one assigned

    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