Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_6) AppleWebKit/602.4.8 (KHTML, like Gecko) Version/10.0.3 Safari/602.4.8
Safari 10
Mac OS X 10.11.6
Other
7 years ago
Test name Executions per second
char code 10391.0 Ops/sec
regex 9585.2 Ops/sec
toLowerCase 10028.7 Ops/sec
char code 2 6106.1 Ops/sec
Tests:
  • char code

  • regex

  • toLowerCase

  • char code 2


;