Run details:
Mozilla/5.0 (iPhone; CPU iPhone OS 11_0 like Mac OS X) AppleWebKit/604.1.38 (KHTML, like Gecko) Version/11.0 Mobile/15A372 Safari/604.1
Mobile Safari 11
iOS 11.0
Mobile
2 years ago
Test name Executions per second
RegEx.test 755040.6 Ops/sec
Array.includes 788226.9 Ops/sec
Script Preparation code:
Tests:
  • RegEx.test

  • Array.includes