Figma
- Deep dive
- Performance
- Latency & performance
WebAssembly cut Figma's load time by 3x
Answers How did WebAssembly make Figma load three times faster?
Figma’s editor is written in C++ and had been compiled to asm.js. Switching to WebAssembly, released only months earlier, cut load time by three times, because WebAssembly parses about 20 times faster and browsers can…
- The problem
- Figma’s C++ editor ran in the browser as asm.js, which was slow to load.
- What they did
- Figma compiled it to WebAssembly, which parses about 20 times faster and can be cached.
- The result
- Load time fell by three times.
Why read it An early real-world WebAssembly result from a large C++ codebase.