3 ms·
> we suddenly realized it is painfully slow, 'uses the proof-of-concept DOM' and whatnot Err, no, you've misread that. html5ever serializes into an arbitrary d
by vertex-four 10y ago
> we suddenly realized it is painfully slow, 'uses the proof-of-concept DOM' and whatnot
Err, no, you've misread that. html5ever serializes into an arbitrary datastructure, provided by the program using html5ever. It also ships with its own datastructure to serialize into for testing purposes (the "proof-of-concept DOM"), which Servo does not use. It's therefore not a benchmark of html5ever as used in Servo.
More reasonable would be benchmarking Firefox's HTML parsing as it stands in Firefox against Servo's HTML parsing, from text to a fully built up DOM as usable by the rest of the browser in both cases.
On the other hand, in some rendering benchmarks (once the DOM has loaded and the page is actually rendering), Servo is much, much faster than other browsers[0].
[0] https://www.phoronix.com/scan.php?page=news_item&px=Google-Servo-Perf-Comparison https://www.phoronix.com/scan.php?page=news_item&px=Google-S...