Run details:
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/95.0.4638.69 Safari/537.36
Chrome 95
Linux
Desktop
3 years ago
Test name Executions per second
Origin [easy input] 3538886.8 Ops/sec
Optimized 2 with lazy [easy input] 3616830.8 Ops/sec
Origin [hard input] 3637195.5 Ops/sec
Optimized 2 with lazy [hard input] 3608245.5 Ops/sec
Optimized 3 [easy input] 3354236.2 Ops/sec
Optimized 3 [hard input] 3415360.2 Ops/sec
runAllOrigin [easy input] 114309.8 Ops/sec
runAllOrigin [hard input] 3269277.5 Ops/sec
runAll Oprimized [easy input] 115033.5 Ops/sec
runAll Oprimized [hard input] 3546852.5 Ops/sec
Script Preparation code:
Tests:
  • Origin [easy input]

  • Optimized 2 with lazy [easy input]

  • Origin [hard input]

  • Optimized 2 with lazy [hard input]

  • Optimized 3 [easy input]

  • Optimized 3 [hard input]

  • runAllOrigin [easy input]

  • runAllOrigin [hard input]

  • runAll Oprimized [easy input]

  • runAll Oprimized [hard input]


;