@yangyc
2023-05-06T06:31:43.000000Z
字数 994
阅读 750
Wonder.js性能报告(2017.12.12)
Wonder.js
benchmark
性能benchmark比较
渲染时间(ms)
Test in chrome(v63)
basic render + basic material box
引擎 |
创建20k个box(clone) |
20k个box(clone)+设置transform |
20k个box(clone)+设置parent,children+设置transform |
创建与销毁2k个box |
创建与销毁5k个box+optimize |
Wonder.js(v1.0.0-alpha.8)->webgl1 |
68 |
83.3 |
95.2 |
43 |
58.8(batch dispose + clone) |
Wonder.js(v1.0.0-alpha.9)->webgl1 |
22.7 |
46 |
52.6 |
_ |
23.2(batch dispose + clone) |
Wonder.js(v1.0.0-alpha.10)->webgl1 |
18 |
20 |
25 |
27.7 |
33.3(batch dispose + clone) |
basic render + instance + basic material box
引擎 |
创建300k个box(static) |
创建20k个box(static, fallback:batch draw) |
60k个box+设置transform |
60k个box+设置parent,children+设置transform |
Wonder.js(v1.0.0-alpha.10)->webgl1 |
24 |
18 |
24 |
36 |
引擎 |
创建与销毁500(sourceInstance box) *️ 10(objectInstance box) |
创建与销毁1(sourceInstance box) * 10k(objectInstance box) |
Wonder.js(v1.0.0-alpha.10)->webgl1 |
45.5 |
26 |
内存(MB)
basic render + basic material box
引擎 |
创建20k个box(clone) |
Three.js(v0.85.2) |
43.7 |
Playcanvas(v0.220.0) |
266 |
Babylonjs(v3.1.0-beta6) |
206 |
Wonder.js(v1.0.0-alpha.8)->webgl1 |
36 |
Wonder.js(v1.0.0-alpha.9)->webgl1 |
28 |
Wonder.js(v1.0.0-alpha.10)->webgl1 |
29.4 |