arXiv · 2503.01662
Scanning HTML at Tens of Gigabytes per Second on ARM Processors
Abstract
Modern processors have instructions to process 16 bytes or more at once. These instructions are called SIMD, for single instruction, multiple data. Recent advances have leveraged SIMD instructions to accelerate parsing of common Internet formats such as JSON and base64. During HTML parsing, they quickly identify specific characters with a strategy called vectorized classification. We review their techniques and compare them with a faster alternative. We measure a 20-fold performance improvement in HTML scanning compared to traditional methods on recent ARM processors. Our findings highlight the potential of SIMD-based algorithms for optimizing Web browser performance.
Explore related subjects
Keep this discovery
Explore connections, maps & timelines
Daniel Lemire. 2025-03-03. Scanning HTML at Tens of Gigabytes per Second on ARM Processors. https://doi.org/10.1002/spe.3420
Cite the original work for its findings. Save a collection to share your selection of sources.