Run details:
Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/61.0.3163.79 Safari/537.36 Maxthon/5.2.1.1000
Maxthon 5
Windows 7
Other
6 years ago
Test name Executions per second
cycle eng_str 35.8 Ops/sec
cycle rus_str 36.3 Ops/sec
regex eng_str 50.7 Ops/sec
regex rus_str 50.5 Ops/sec
Script Preparation code:
Tests:
  • cycle eng_str

  • cycle rus_str

  • regex eng_str

  • regex rus_str