Run details:
Mozilla/5.0 (Linux; Android 10; K) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Safari/537.36
Chrome 131
Android
Desktop
21 days ago
Test name Executions per second
lowercase + includes 22342644.0 Ops/sec
RegExp + i 4628261.5 Ops/sec
Script Preparation code:
Tests:
  • lowercase + includes

  • RegExp + i