-
Notifications
You must be signed in to change notification settings - Fork 7.1k
Performance downgrade from 3.50.0-beta.10 to 3.50.0-beta.12 #5500
Description
Version
- Phaser Version: 3.51.0
- Operating system: Windows 10
- Browser: all
Description
When I upgraded from version 3.50.0-beta.10 to 3.51.0 I noticed that the performance of my game was considerably worse than on the older version.
I used specter.js to inspect the draw calls that the WebGL renderer was creating and found out that the new version made a whopping 113 (including draw calls) commands comparing to the 4 commands from the old version. It has probably something to do with the Multi-Texturing-Pipeline breaking.
I dug a bit deeper and found out, that it changed between 3.50.0-beta.10 and 3.50.0-beta.12. I hope that helps you out when trying to reduce the possible causes.
Example Test Code
https://codesandbox.io/s/phaser-3500-performance-webglmulti-jn318?file=/src/index.js
You can switch between the phaser versions there and then inspect them with the specter.js chrome extension. (16 vs 19 commands in this small example alone)