servo / servo/html5ever

html5ever is much slower than MyHTML

Open
#286 32 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Rust
Stars
2.6k
Forks
288
Avg merge
2d 22h
Merged PRs (30d)
8

Description

https://lexborisov.github.io/benchmark-html-persers/ shows html5ever performing very badly against MyHTML, which furthermore has fewer bugs and supports document.write() html5ever supports document.write() in modern versions (thanks @jdm).

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the comparison from the linked benchmark page and inspect how html5ever performs against MyHTML. Done means identifying a concrete performance gap and demonstrating an improvement with the benchmark, while preserving the parser behavior described in the issue.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
performance, web-dev
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.