Repository navigation
docs(readme): the speed figures came from runs bench/results has replaced - #261
Merged
Merged
Conversation
…aced #259 committed a full run from 29 November, and parsec.tools moves to it in website #4. The README still quoted the 15 and 21 November runs, so the two would disagree. Every figure in How fast now comes from bench/results/2026-11-29-m2-max, and the claims it makes still hold there: Parsec is ahead on each of the 13 pages, and the three parsers build the same number of elements on every one of the 1,746 real-world pages.
jamesconwaydev
enabled auto-merge
November 29, 2026 07:01
foothillsdigital
requested changes
Nov 29, 2026
foothillsdigital
left a comment
Collaborator
There was a problem hiding this comment.
The figures are right, but one link needs to be absolute.
README.md line 195 links [bench/results](bench/results). #258 made every README link absolute because crates.io renders this file for nine crates, and there a relative link resolves against crates.io, not the repository. It's the only relative link in the file at b09453b. https://github.com/parsec-html/parsec/tree/main/bench/results fixes it.
Everything else checks out against bench/results/2026-11-29-m2-max/ on main:
- 362 / 242 / 83 MB/s ("all real pages"), and 1,007 vs 543 MB/s over 1,746 pages and 563 MB.
- Selectors:
all selectorsis 242.7 vs 714.8 ms, so "2.9 times". - "Parsec is ahead of both on every page": of the 13 pages'
secondsfigures, Parsec is the lowest on all 13. - "oxc parses the smallest inline scripts on those pages faster": in
js.json, oxc beats Parsec on 10 sources, starting with the three smallest (whatwg-full <script>andwhatwg-parsing <script>at 162 bytes, andmdn-html <script>at 341). So it still holds.
Dropping "in eight encodings" is right, since nothing in this run counts them.
Collaborator
Author
|
Right, fixed in 5cceb04: it's |
foothillsdigital
approved these changes
Nov 29, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Problem
#259 committed a full bench run from 29 November in
bench/results/2026-11-29-m2-max/, and parsec.tools moves to it in parsec-html/website#4. The README's How fast section still quotes the 15 and 21 November runs (370 MB/s, 1,731 pages, 933 to 523, selectors 3.2 times), so once #4 merges the README and the site would give different numbers.Change
Every figure in How fast now comes from the 29 November run:
pages.json,all real pages.realworld.jsonand the docs' Real-world page.all selectors, which is 2.9 times.bench/results.The two claims in the paragraph still hold in this run. Parsec is the fastest of the three on each of the 13 pages, and
realworld.jsonhas 0 pages whose element count differs from Parsec's, for both Lexbor and html5ever. "In eight encodings" is dropped, because nothing in this run counts them.Tests
The figures were checked against the committed JSON on main. Docs only.