Run details:
Mozilla/5.0 (Linux; Android 6.0.1; SAMSUNG SM-T805 Build/MMB29K) AppleWebKit/537.36 (KHTML, like Gecko) SamsungBrowser/6.4 Chrome/56.0.2924.87 Safari/537.36
Chrome 56
Android 6.0.1
Samsung SM-T805
6 years ago
Test name Executions per second
If Statement - True 330338.3 Ops/sec
If Statement - False 1552754.6 Ops/sec
Calculate - Positive 508973.8 Ops/sec
Calculate - Zero 569464.3 Ops/sec
Script Preparation code:
Tests:
  • If Statement - True

  • If Statement - False

  • Calculate - Positive

  • Calculate - Zero