Unity has released a benchmarking report after two years since the last Unity Benchmark report comparing the performance and load times of WebAssembly with asm.js. They have compared the performance of Unity WebGL in four major web browsers: Firefox 61, Chrome 70, Safari 11.1.2 and Edge 17. Last month, Unity officially announced that it is finally making the switch to WebAssembly as their output format for the Unity WebGL build target.
Note: All images and graphs are taken from the Unity Blog.
For running the tests, the team rebuilt the Benchmark project with Unity 2018.2.5f1 using the following Unity WebGL Player Settings:
Here are the findings from the report.
Criteria 1: Total amount of time taken to get to the main screen for both WebAssembly and asm.js.
Findings:
Criteria 2: In-Depth Load Times for WebAssembly-only.
The team compared four factors:
Findings:
Criteria 3: Performance and Load times for Real-World Projects
Real-world projects result in larger builds which impact the end-user’s experience. Here is an overview of total scores using WebAssembly and asm.js
Findings:
The report findings conclude that modern browsers load faster and perform better thanks to WebAssembly. It also provides more consistent user experience as compared to asm.js.
Read more about the findings on the Unity Blog.
Unity releases ML-Agents toolkit v0.5 with Gym interface, new suite of learning environments.
Key Takeaways from the Unity Game Studio Report 2018.
Unity switches to WebAssembly as the output format for the Unity WebGL build target.
I remember deciding to pursue my first IT certification, the CompTIA A+. I had signed…
Key takeaways The transformer architecture has proved to be revolutionary in outperforming the classical RNN…
Once we learn how to deploy an Ubuntu server, how to manage users, and how…
Key-takeaways: Clean code isn’t just a nice thing to have or a luxury in software projects; it's a necessity. If we…
While developing a web application, or setting dynamic pages and meta tags we need to deal with…
Software architecture is one of the most discussed topics in the software industry today, and…