Fastest: getting the html tag with querySelector (2.3x faster)
11,706,380 ops/sec
5,173,710 ops/sec
Results show median performance across all community submissions. Run this benchmark yourself to verify on your device.