Storing IDs manually is faster than getElementById

performance, javascript
This post is old, and probably obsolete

I always assumed getElementById, being native code, would be faster than any "manual" implementation where you manually store all the IDs in a JS map. This JSPerf says it's not true.