Get HTML img element reference by document.getElementById vs document.images

Loops amount: 1000000

Image test 1

Image test 2

Image test 3