Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I whipped up one here with a random comment dump from HN. It appears I'm no longer correct.

https://gist.github.com/adamvy/afcace8cbdbe56995626f59f6ea2b...

Load this as a script tag in an html file to run.

Last time I benchmarked this it was true, but that was a number of years ago.



Actually, fun fact, if you remove the clearing of the body, the HTML approach is faster.

At least in firefox here.

Benchmarking is difficult.




Consider applying for YC's Summer 2026 batch! Applications are open till May 4

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: