Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/103.0.0.0 Safari/537.36
Chrome 103
Mac OS X 10.15.7
Desktop
2 years ago
Test name Executions per second
Find for loop 3674633.0 Ops/sec
Find Basic 3018762.0 Ops/sec
Find Index Basic 3173500.5 Ops/sec
Find For Of 3345134.8 Ops/sec
Script Preparation code:
Tests:
  • Find for loop

  • Find Basic

  • Find Index Basic

  • Find For Of