Run details:
Mozilla/5.0 (iPhone; CPU iPhone OS 15_7 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) CriOS/114.0.5735.124 Mobile/15E148 Safari/604.1
Chrome Mobile iOS 114
iOS 15.7
Mobile
one year ago
Test name Executions per second
If Statement - True 2351860.8 Ops/sec
If Statement - False 8515631.0 Ops/sec
Calculate - Positive 3085871.2 Ops/sec
Calculate - Zero 3098770.8 Ops/sec
Script Preparation code:
Tests:
  • If Statement - True

  • If Statement - False

  • Calculate - Positive

  • Calculate - Zero