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幀


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM