Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.13; rv:58.0) Gecko/20100101 Firefox/58.0
Firefox 58
Mac OS X 10.13
Other
2025 years ago
Test name Executions per second
Array comparison 14183.2 Ops/sec
Simple comparison 152236304.0 Ops/sec
Script Preparation code:
Tests:
  • Array comparison

  • Simple comparison