Skip to content
Navigation Menu
Sign in
Products
Platform
GitHub
Repository hosting, code review, and collaboration
Copilot
AI coding agent for tasks, projects and automated work
Build & Ship
Actions
CI/CD and automation
Code Quality
Quality analysis, fixes, and enforcement
Codespaces
Cloud development environments
Secure
Code Security
Vulnerability detection and remediation
Secret Protection
Secret scanning and leak prevention
All Features
Developers
Learn
Documentation
Training
Certifications
Build
Build with Copilot
Customize Copilot
Integrations
Explore
Trending repos
GitHub Sponsors
Events
Changelog
Changelog
Your source for the latest features, improvements, and fixes across GitHub products, all in one place.
Businesses
By Stage
Enterprises
Team
Startups
Nonprofits
By Industry
Healthcare
Financial services
Manufacturing
Government
See all industries
Evaluate GitHub
Why GitHub
Customer Stories
Business insights
Trust Center
Add-ons
GitHub Advanced Security
Enterprise-grade code security
Copilot for business
Enterprise-grade AI features
Premium Support
Enterprise-grade 24/7 support
Resources
Learn & Connect
Documentation
Resource center
Blog
Events & webinars
Community Forum
Customer Stories
Integrations
Support
Customer support
Training
GitHub Status
Company
About
Partners
Changelog
GitHub Universe
GitHub Universe
The event for developers, by developers — talks, workshops, and what’s next for GitHub.
Pricing
Search
/
Sign in
Sign up
Appearance settings
You signed in with another tab or window.
Reload
to refresh your session.
You signed out in another tab or window.
Reload
to refresh your session.
You switched accounts on another tab or window.
Reload
to refresh your session.
Dismiss alert
{{ message }}
html5lib
html5lib-python
Repository navigation
Code
Issues
85
(85)
Pull requests
24
(24)
Discussions
Actions
Projects
Security and quality
Insights
More
items
Add benchmarks and optimize html5lib a bit
- #493
#493
Merged
gsnedders
merged 8 commits into
html5lib:master
html5lib/html5lib-python:master
from
gsnedders:perf
gsnedders/html5lib-python:perf
Copy head branch name to clipboard
Jun 17, 2020
Conversation
Commits
8
(8)
Checks
Files changed
Merged
Add benchmarks and optimize html5lib a bit
#493
gsnedders
merged 8 commits into
html5lib:master
html5lib/html5lib-python:master
from
gsnedders:perf
gsnedders/html5lib-python:perf
Copy head branch name to clipboard
Commits
Commits on Jun 9, 2020
Add some parser benchmarks
Show description for 1d6e96d
gsnedders
committed
1d6e96d
View commit details
Copy full SHA for 1d6e96d
Browse repository at this point
Use dict on Py >= 3.7 for attributes now it is ordered
gsnedders
committed
2015e28
View commit details
Copy full SHA for 2015e28
Browse repository at this point
Avoid allocating bytes slice in encoding pre-parse
gsnedders
committed
a2b4cf4
View commit details
Copy full SHA for a2b4cf4
Browse repository at this point
Shortcut the entire meta encoding pre-parse when possible
gsnedders
committed
6ebe1c2
View commit details
Copy full SHA for 6ebe1c2
Browse repository at this point
Commits on Jun 10, 2020
Only initialise the method dispatcher once
Show description for 153b4c8
gsnedders
committed
153b4c8
View commit details
Copy full SHA for 153b4c8
Browse repository at this point
Speedup setting attributes on etree implementations
gsnedders
committed
9af240f
View commit details
Copy full SHA for 9af240f
Browse repository at this point
Move token normalisation to the tokenizer
gsnedders
committed
46981f2
View commit details
Copy full SHA for 46981f2
Browse repository at this point
Get lxml treewalker outputting attrs in source order again
Show description for 86530b9
gsnedders
committed
86530b9
View commit details
Copy full SHA for 86530b9
Browse repository at this point
You can’t perform that action at this time.