Eight-language HTML parser benchmark: Python and Rust lead, Go trails Java

The author ported their HTML parser library to eight languages and benchmarked each on the same real-world pages. Tests ran one at a time on identical hardware, an AMD Ryzen 7 3800X, under Linux and Windows. Parsing a 51 KB books page showed Python (with Rust underneath), C#, Rust and Java finishing within the margin of error of each other. Go was slower, and Node.js, PHP and Ruby trailed well behind. Differences under about 10 percent were treated as ties because repeated runs varied that much.
This is an AI-generated summary. ShortSingh links to the original source for the complete article.

Discussion (0)
Log in to join the discussion and vote.
Log in