Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/111.0.0.0 Safari/537.36
Chrome 111
Mac OS X 10.15.7
Desktop
one year ago
Test name Executions per second
with getAttribute 103408.0 Ops/sec
without getAttribute 94663.1 Ops/sec
forOf (with getAttribute) 84238.1 Ops/sec
forOf (without getAttribute) 83346.7 Ops/sec
HTML Preparation code:
Tests:
  • with getAttribute

  • without getAttribute

  • forOf (with getAttribute)

  • forOf (without getAttribute)


;