[关闭]
@yangyc 2018-02-08T01:07:39.000000Z 字数 944 阅读 591

Wonder.js性能报告(2018.02.06)



Wonder.js benchmark


性能benchmark比较

渲染时间(ms)

Test in chrome(v64)

basic render + basic material box

引擎 创建20k个box(clone) 20k个box(clone)+设置transform 20k个box(clone)+设置parent,children+设置transform 创建与销毁5k个box+optimize
Wonder.js(v1.0.0-alpha.10)->webgl1 18 20 25 33.3(batch dispose + clone)
Wonder.js(v1.0.0-alpha.16)->webgl1 18 18 25 27(batch dispose + clone)

front render light + 1 ambient light + 1 direction light + 1 point light + light material box

引擎 创建10k个box(clone) 创建与销毁5k个box+optimize
Wonder.js(v1.0.0-alpha.16)->webgl1 17.5 42(batch dispose + clone)

front render light + instance + light material box

引擎 创建100k个box(static) 创建10k个box(static, fallback:batch draw) 20k个box+设置transform 20k个box+设置parent,children+设置transform
Wonder.js(v1.0.0-alpha.16)->webgl1 20 17.5 24 25
引擎 创建与销毁300(sourceInstance box) *️ 10(objectInstance box) 创建与销毁1(sourceInstance box) * 5k(objectInstance box)
Wonder.js(v1.0.0-alpha.16)->webgl1 37 20

内存(MB)

front render light + light material box

引擎 创建20k个box(clone)
Wonder.js(v1.0.0-alpha.16)->webgl1 32
添加新批注
在作者公开此批注前,只有你和作者可见。
回复批注