Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Benchmark HTML parsing #672

Merged
merged 2 commits into from
Apr 1, 2020
Merged

Benchmark HTML parsing #672

merged 2 commits into from
Apr 1, 2020

Conversation

jyn514
Copy link
Member

@jyn514 jyn514 commented Apr 1, 2020

See #671, servo/html5ever#414 for rationale.

This makes the extract_head_and_body function public since I couldn't
find a cfg flag that would do so only during tests.

This does not run benchmarks in CI, but makes it easy to do so locally. I plan to run benchmarks whenever dependencies are updated in the future.

jyn514 added 2 commits March 31, 2020 20:03
See rust-lang#671,
servo/html5ever#414 for rationale.

This makes the `extract_head_and_body` function public since I couldn't
find a cfg flag that would do so only during tests.
@jyn514 jyn514 mentioned this pull request Apr 1, 2020
@Mark-Simulacrum
Copy link
Member

Looks good to me. I guess the idea is to gather benchmarks before/after changes locally?

Feel free to merge.

@jyn514
Copy link
Member Author

jyn514 commented Apr 1, 2020

I guess the idea is to gather benchmarks before/after changes locally?

Right, this would give me some idea of 'is rendering faster or slower after switching to kuchiki' without having to deploy to prod and possibly have the site go down again.

@jyn514 jyn514 merged commit 05a6190 into rust-lang:master Apr 1, 2020
@jyn514 jyn514 deleted the benchmark branch April 1, 2020 17:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants