Million.js: A Fast Compiler-Augmented Virtual DOM for the Web
Aiden Bai

TL;DR
Million.js introduces a compiler-augmented virtual DOM that significantly accelerates web application load times and rendering performance by precomputing interactive regions and optimizing runtime execution.
Contribution
The paper presents a novel compiler-augmented virtual DOM approach that improves web app load times and rendering speed compared to existing libraries.
Findings
Million.js is 133%-300% faster in rendering.
Load time is reduced by 2347%.
Web apps can be significantly faster with Million.js.
Abstract
Interactive web applications created with declarative JavaScript User Interface (UI) libraries have increasingly dominated the modern internet. However, existing libraries are primarily made for run-time execution, and rely on the user to load and render web applications. This led us to create Million.js, a fast compiler-augmented virtual Document Object Model (DOM) for the web. Million.js reduces load time and time-to-interactive by creating a compiler to compute interactive regions of a web application before the user visits the page. The virtual DOM run-time optimizes interactive content through compiler flags, compute batching, scheduling, and reactive data primitives to achieve optimal performance. When benchmarked against the most popular virtual DOM libraries, Million.js resulted in 133% to 300% faster rendering and 2347\% faster load. In a real-world web application with both…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Code & Models
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsWeb Data Mining and Analysis · Caching and Content Delivery · Cloud Computing and Resource Management
