Performance Optimization


weibo签到。


reuse

架构需求导致的。

(1)去掉这个需求 (2)优化

list shallow clone

反例:model reuse。


reduce

sampling

treemap


merge path / CompoundPath path

mapDraw

large scatter


标记更新

zrender dirty


sort

timsort

stable


progressive

nutrients

heatmap


Animation

http://echarts.baidu.com/gallery/editor.html?c=scatter-nutrients

动画: 动画引擎。 统一的动画 updateProp 接口减少实现的代码量。

动画的编程模式:

更新的例子