Skip to content

In development. Expect rough edges and changes. The source code is not public yet.

Web performance Remove topic Web performance 58 posts RSS

2026

GitHub Engineering

Rendering huge pull requests in the GitHub Copilot app

Case study 13 min +130 XP

The GitHub Copilot app's pull request view stays responsive on a 2,200-file, million-line diff with 400+ review comments by splitting document height into two geometries: exact, precomputed prefix-summed code rows and lazily measured dynamic blocks for comments, drafts and composers.

New in Edge for developers – Create better components and make your site agent-ready

Release 9 min +90 XP

Recent Microsoft Edge and Chromium web platform additions include the OpaqueRange API for measuring and highlighting text ranges inside textarea and input elements, ShadowRoot referenceTarget for forwarding ID-reference attributes like for and aria-labelledby into shadow DOM (solving cross-root ARIA), and aria-actions for exposing secondary actions in composite widgets.

Upgrading Checkout Blocks app to Polaris web components

Case study 10 min +100 XP

Shopify's Checkout Blocks team migrated five high-traffic checkout UI extensions from React and the legacy Remote UI bridge to Preact, remote-dom and Polaris web components, rewriting them in TypeScript, and cut transferred bundle sizes by 40-85% and extension load time by about 8% at P50.

2025

Canva Engineering

From Intern Project to Production: How I Shipped the Draw Tool for Canva's Present Mode

Case study 8 min +80 XP

Bringing Canva's editor draw tool into present mode required three fixes: extracting the editor-coupled draw logic into a new shared package with interfaces between shared classes and domain-specific implementations (Open/Closed Principle), normalizing stroke coordinates so drawings stay correctly positioned and scaled across Presenter View's presenter and audience windows, and lazy loading the draw tool with code splitting.

2024

2023

2022

The quest for software engineering knowledge.

Look:
Layout: