Lune

PLDI2025Top-tier venue

Spineless Traversal for Layout Invalidation

Marisa Kirisame, Tiezhi Wang, Pavel Panchekha

Abstract

Latency is a major concern for web rendering engines like those in Chrome, Safari, and Firefox. These engines reduce latency by using an incremental layout algorithm to redraw the page when the user interacts with it. In such an algorithm, elements that change frame-to-frame are marked dirty, and only those elements are processed to draw the next frame, dramatically reducing latency. However, the standard incremental layout algorithm must search the page for dirty elements, accessing auxiliary elements in the process. These auxiliary elements add cache misses and stalled cycles, and are responsible for a sizable fraction of all layout latency.

We introduce a new, faster incremental layout algorithm called Spineless Traversal. Spineless Traversal uses a cache-friendlier priority queue algorithm that avoids accessing auxiliary nodes and thus reduces cache traffic and stalls. This leads to dramatic speedups on the most latency-critical interactions such as hovering, typing, and animation. Moreover, thanks to numerous low-level optimizations, Spineless Traversal is competitive across the whole spectrum of incremental layout workloads. Spineless Traversal is faster than the standard approach on 83.0% of 2216 benchmarks, with a mean speedup of 1.80× concentrated in the most latency-critical interactions.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

2 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • Semantics for 2D Rasterization cites Conflict-Driven Synthesis for Layout Engines
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers2

  1. Incremental Bidirectional Typing via Order MaintenanceThomas Porter, Marisa Kirisame, Ivan Wei, Pavel Panchekha et al.OOPSLA 2025 · 2 citations
  2. Semantics for 2D RasterizationBhargav Kulkarni, Henry Whiting, Pavel PanchekhaOOPSLA 2026

Builds on2

  1. Tree traversal synthesis using domain-specific symbolic compilationYanju Chen, Junrui Liu, Yu Feng, Rastislav BodíkASPLOS 2022 · 5 citations
  2. Conflict-Driven Synthesis for Layout EnginesJunrui Liu, Yanju Chen, Eric Atkinson, Yu Feng et al.PLDI 2023 · 5 citations

Related papers

  1. Fawkes: Faster Mobile Page Loads via App-Inspired Static TemplatingShaghayegh Mardani, Mayank Singh, Ravi NetravaliNSDI 2020 · 13 citations
  2. pulse: Accelerating Distributed Pointer-Traversals on Disaggregated MemoryYupeng Tang, Seung-Seob Lee, Abhishek Bhattacharjee, Anurag KhandelwalASPLOS 2025 · 4 citations
  3. Residency Octree: A Hybrid Approach for Scalable Web-Based Multi-Volume RenderingLukas Herzberger, Markus Hadwiger, Robert Krüger, Peter K. Sorger et al.IEEE VIS 2023 · 7 citations
  4. SIEVE is Simpler than LRU: an Efficient Turn-Key Eviction Algorithm for Web CachesYazhuo Zhang, Juncheng Yang, Yao Yue, Ymir Vigfusson et al.NSDI 2024 · 63 citations
  5. ReFrame: Layer Caching for Accelerated Inference in Real-Time RenderingLufei Liu, Tor M. AamodtICML 2025
Dusk over the sea between two cliffs drawn in fine vertical lines