If you want fast HTML parsing in python+lxml, use html5-parser https://github.com/kovidgoyal/html5-parser
569 karma · joined March 26, 2016
time xterm false real 0.052 user 0.035 sys 0.000 maxmem 9 MB faults 1
Doesnt look like an order of magnitude to me.
The downside being it requires the kitty terminal as it uses features not present in other terminals.