Closed matanox closed 10 years ago
Indeed. Patches welcome -- we just landed one that helps!
@matanster those test results are not relevant. HTML5 parser is not much slower. The DOM (jsdom) is actually slow. If you use DOM, you will not see a big difference. But if you do not need DOM, then you probably do not need HTML5 parser, or you probably will be interested in SAX-support, added here: https://github.com/aredridel/html5/pull/92
++
According to https://github.com/fb55/htmlparser2#performance, this is one of the slowest parsers in the bunch (?) .