Skip to content

Add html5ever 0.26.0 #1257

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

Merged
merged 2 commits into from
Mar 29, 2022
Merged

Conversation

nnethercote
Copy link
Contributor

Overall compile times:

       html5ever  html5ever-0.26.0
check  4.1s       7.8s
debug  4.4s       8.0s
opt    4.7s       7.3s

Compile times for the final crate:

       helloworld  html5ever  html5ever-0.26.0
check  0.16        1.10       0.58
debug  0.23        1.37       0.69
opt    0.22        1.65       0.81

Quite a bit smaller. I looked at Cachegrind profiles, it seems like
html5ever-0.26.0 is even more of a macro expanstion + AST handling stress test,
because that stuff is a bigger proportion. So I think it's still reasonable to
include it.

Overall compile times:
```
       html5ever  html5ever-0.26.0
check  4.1s       7.8s
debug  4.4s       8.0s
opt    4.7s       7.3s
```

Compile times for the final crate:
```
       helloworld  html5ever  html5ever-0.26.0
check  0.16        1.10       0.58
debug  0.23        1.37       0.69
opt    0.22        1.65       0.81
```
The final crate is quite a bit smaller, especially relative to the overall
time. I looked at Cachegrind profiles, it seems like html5ever-0.26.0 is even
more of a macro expanstion + AST handling stress test, because that stuff is a
bigger proportion. So I think it's still reasonable to include it.
@rylev rylev merged commit c0a1a89 into rust-lang:master Mar 29, 2022
@nnethercote nnethercote deleted the add-html5ever-0.26.0 branch March 29, 2022 09:12
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