Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/64.0.3282.140 Safari/537.36
Chrome 64
Mac OS X 10.11.6
Other
2025 years ago
Test name Executions per second
If Statement - True 2245036.2 Ops/sec
If Statement - False 8790968.0 Ops/sec
Calculate - Positive 2879746.8 Ops/sec
Calculate - Zero 3031487.0 Ops/sec
Script Preparation code:
Tests:
  • If Statement - True

  • If Statement - False

  • Calculate - Positive

  • Calculate - Zero