Run details:
Mozilla/5.0 (Windows NT 6.0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/49.0.2623.112 Safari/537.36
Chrome 49
Windows Vista
Other
8 years ago
Test name Executions per second
parseHex1 392.1 Ops/sec
parseHex2 100.6 Ops/sec
parseHex3 175.0 Ops/sec
parseHex4 209.7 Ops/sec
parseHex5 2325.6 Ops/sec
Script Preparation code:
Tests:
  • original

  • ES5 replace match map

  • match without replace

  • iteration with replace

  • looping with exec

  • non regex


;