---
title: "Keeping Figma fast"
description: "Figma replaced its single-MacBook performance testing setup with two systems sharing one CI scheduler."
url: "https://swe.quest/articles/keeping-figma-fast-eb21da7244ac5731"
canonical: "https://www.figma.com/blog/keeping-figma-fast/"
source: "Figma"
published: "2023-08-29"
difficulty: "medium"
kind: "Case study"
reading_minutes: 14
tags: ["performance","testing","ci-cd","web-performance"]
---

# Keeping Figma fast

A post on [Figma](https://swe.quest/sources/figma.md), published 2023-08-29, 14 min read, Case study. Original: [https://www.figma.com/blog/keeping-figma-fast/](https://www.figma.com/blog/keeping-figma-fast/)

## Summary

Figma replaced its single-MacBook performance testing setup with two systems sharing one CI scheduler. The first runs end-to-end tests in headless Chromium on GPU-enabled cloud VMs for every pull request, finishes within 10 minutes through parallel runs, and uses a 20% pass margin to catch large regressions despite VM noise. The second is a small fleet of older real laptops for on-demand runs such as bisecting subtle regressions and benchmarking hot-path optimizations. Instruction counting and a full device farm were rejected because Figma's WASM/WebGL workload is bound variously by CPU, GPU and I/O. Case studies show the setup validating rendering time-slicing that prioritizes local edits over remote multiplayer changes, improving perceived frame rate on slow devices.

Written by swe.quest, not by the author.

**Difficulty:** Medium: assumes a working developer; shows how it is built or done

## Topics

- [Performance engineering](https://swe.quest/tags/performance.md) (Reliability & operations)
- [Testing](https://swe.quest/tags/testing.md) (Engineering practices)
- [CI/CD](https://swe.quest/tags/ci-cd.md) (Reliability & operations)
- [Web performance](https://swe.quest/tags/web-performance.md) (Web & mobile)

## Prerequisites

- CI pipelines ([easy posts on CI/CD](https://swe.quest/tags/ci-cd.md?difficulty=easy))
- browser rendering basics
- performance profiling ([easy posts on Performance engineering](https://swe.quest/tags/performance.md?difficulty=easy))

## Keywords

Figma, FigJam, WebGL, WebAssembly, Chromium

## Related posts

- [Figma rendering: Powered by WebGPU](https://swe.quest/articles/figma-rendering-powered-by-webgpu-713739b05df2d0bb.md): Figma · 2025-09-18 · Medium · 11 min read · Browsers, WebAssembly, C & C++, Performance engineering, Deployment
  Figma migrated its C++ renderer from WebGL to WebGPU while keeping WebGL as a fallback, first refactoring its graphics interface to pass draw-call state explicitly and to batch uniform uploads into a single buffer per submit to avoid performance regressions.
- [How Figma draws inspiration from the gaming world](https://swe.quest/articles/how-figma-draws-inspiration-from-the-gaming-world-d8a336bcdbd13832.md): Figma · 2023-05-03 · Easy · 13 min read · Real-time systems, WebAssembly, System design, Games, Debugging
  Figma's architecture resembles a game engine more than a typical web stack: a C++ canvas compiled to WebAssembly for 2D rendering, a React/TypeScript UI layer, and a Rust multiplayer server, plus layered systems for multiplayer, animation, collisions, chat and plugins.
- [Speeding up file load times, one page at a time](https://swe.quest/articles/speeding-up-file-load-times-one-page-at-a-time-6f46ca8213350490.md): Figma · 2024-05-22 · Medium · 13 min read · Web performance, Real-time systems, Data structures, System design
  Figma extended dynamic page loading from view-only files and prototypes to editable files, cutting load times for the slowest 5% of loads by 33% and reducing client memory.
- [Improving performance with incremental frame loading](https://swe.quest/articles/improving-performance-with-incremental-frame-loading-2561f28b61e84c3a.md): Figma · 2024-01-23 · Medium · 8 min read · Web performance, Real-time systems, Memory management, Performance engineering, System design
  Figma's prototype player used to load entire documents into memory, causing multi-minute loads and crashes on memory-constrained mobile devices.
- [The evolution of Figma’s mobile engine: Compiling away our custom programming language](https://swe.quest/articles/the-evolution-of-figma-s-mobile-engine-compiling-away-our-custom-programming-4555b49211ef8f02.md): Figma · 2024-05-01 · Medium · 16 min read · Refactoring & migrations, TypeScript, Compilers, Performance engineering, JavaScript
  Figma migrated its prototype viewer's mobile engine from Skew, an in-house compile-to-JavaScript language, to TypeScript using a custom Skew-to-TypeScript transpiler and a three-phase rollout (write/build Skew, write Skew/build TypeScript, write/build TypeScript) that never paused development.

Browse: [Latest posts](https://swe.quest/index.md) · [Topics](https://swe.quest/tags.md) · [Sources](https://swe.quest/sources.md) · [Topic map](https://swe.quest/map.md) · [Site guide (llms.txt)](https://swe.quest/llms.txt)
