Run details:
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:127.0) Gecko/20100101 Firefox/127.0
Firefox 127
Windows
Desktop
5 months ago
Test name Executions per second
If Statement - True 131041256.0 Ops/sec
If Statement - False 450608416.0 Ops/sec
Calculate - Positive 143557504.0 Ops/sec
Calculate - Zero 131886624.0 Ops/sec
Script Preparation code:
Tests:
  • If Statement - True

  • If Statement - False

  • Calculate - Positive

  • Calculate - Zero