Run details:
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/60.0
Firefox 60
Ubuntu
Desktop
5 years ago
Test name Executions per second
All finds in one loop 63.8 Ops/sec
Manual finds with multiple loops 358.4 Ops/sec
Script Preparation code:
Tests:
  • All finds in one loop

  • Manual finds with multiple loops