-
-
Notifications
You must be signed in to change notification settings - Fork 918
Open
Labels
Milestone
Description
Ideally we want HTML5 to be the default HTML parser in Nokogiri (see #2331). Some necessary work before we do that is to make sure it's as performant as we can make it.
This issue is open-ended and meant to collect the conversations and optimizations attempts we've made.
gumbo-specific speedup:
- HTML5 documents should not require namespaces in CSS selector queries #2403 (previous work)
- explore ways to speed up HTML5 document serialization #2569 (previous work)
- Implement HTML 5 serialization in C #2596 (previous work)
- perf: use
-O2
to compile libgumbo and the nokogiri extension #2639 (previous work) - perf: avoid gumbo_debug function calls when GUMBO_DEBUG isn't def'd #2723
- perf: update gumbo utf8 decode #2735
- [experiment] gumbo using a malloc arena #2790
- What if we converted libgumbo into a SAX parser and built libxml2 data structures directly?
General speedup: