June 2021
Intermediate to advanced
304 pages
7h 49m
English
This chapter is aimed squarely at developers who want lightning-fast applications and are willing to take the time to make that happen. We’ll first discuss profiler tools to evaluate WebAssembly module performance and investigate how to compare the performance of WebAssembly with similar JavaScript code. We’ll spend some time looking at strategies to improve the performance of our WebAssembly, including inlining functions, replacing multiplication and division with bit-shifts, combining constants, and removing code using Dead Code Elimination (DCE).
We’ll also delve into other methods for determining a module’s performance: ...
Read now
Unlock full access