Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/109.0.0.0 Safari/537.36
Chrome 109
Mac OS X 10.14.6
Desktop
one year ago
Test name Executions per second
If Statement - True 3124331.8 Ops/sec
If Statement - False 13952592.0 Ops/sec
Calculate - Positive 5077004.5 Ops/sec
Calculate - Zero 5036978.0 Ops/sec
Script Preparation code:
Tests:
  • If Statement - True

  • If Statement - False

  • Calculate - Positive

  • Calculate - Zero