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

I know, that's why it's misleading and it should not be considered. A quick reader will think that "using getElementById will save me 32ms", but it'd be off by several orders of magnitude.


That sounds like a pit of success, though. The gain just isn't that significant. IMHO, misleading would be if querySelector was faster under normal circumstances but shown to be slower through bad benchmarking




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

Search: