Run details:
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/108.0.0.0 Safari/537.36
Chrome 108
Windows
Desktop
one month ago
Test name Executions per second
-1' OR 2+762-762-1=0+0+0+1 or '1I6gtyxn'=' 26010314.0 Ops/sec
Regex validation - Invalid input 43248424.0 Ops/sec
Try-catch validation - Valid input 11689074.0 Ops/sec
Try-catch validation - Invalid input 102001.5 Ops/sec
Script Preparation code:
Tests:
  • TestRegex validation - Valid input

  • Regex validation - Invalid input

  • Try-catch validation - Valid input

  • Try-catch validation - Invalid input