Run details:
Mozilla/5.0 (iPad; CPU OS 10_3_3 like Mac OS X) AppleWebKit/603.1.30 (KHTML, like Gecko) CriOS/62.0.3202.70 Mobile/14G60 Safari/602.1
Chrome Mobile iOS 62
iOS 10.3.3
iPad
2025 years ago
Test name Executions per second
If Statement - True 668254.9 Ops/sec
If Statement - False 2776711.5 Ops/sec
Calculate - Positive 869248.4 Ops/sec
Calculate - Zero 837783.0 Ops/sec
Script Preparation code:
Tests:
  • If Statement - True

  • If Statement - False

  • Calculate - Positive

  • Calculate - Zero