pixi.js laya egret性能测试

pixi.js 性能测试                https://pixijs.io/bunny-mark/
pixi.js laya egret 性能对比 https://github.com/k8w/webgl_2d_benchmark

自测~~~
三星手机a9 测度
for (let i = 0; i < 500; i++) { let shape = new egret.Shape(); shape.graphics.beginFill(0xff0000) shape.graphics.drawCircle(0, 0, 200); shape.graphics.endFill(); this.stage.addChild(shape) } // egret 平均22帧

for (let i = 0; i < 500; i++) {
  var shape = new PIXI.Graphics();
  shape.beginFill(0xff0000);
  shape.drawCircle(0, 0, 200);
  shape.endFill();
      this.addChild(shape)
}
// pixi.js 平均35帧

 

 

}
平均18帧
posted @ 2019-03-14 21:00  wanhong  阅读(1266)  评论(0编辑  收藏  举报