Hacker News new | ask | show | jobs
by tiltrus 1894 days ago
Can you share any benchmarks indicating this?
1 comments

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.