Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/113.0.0.0 Safari/537.36
Chrome 113
Mac OS X 10.15.7
Desktop
one year ago
Test name Executions per second
id 1478200.6 Ops/sec
getElementById 2437613.8 Ops/sec
wrapper 2174043.5 Ops/sec
global var 3229869.0 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • id

  • getElementById

  • wrapper

  • global var


;