Run details:
Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/54.0.2840.99 Safari/537.36
Chrome 54
Windows
Other
7 years ago
Test name Executions per second
true (binary) 1861271.4 Ops/sec
false (binary) 1911472.2 Ops/sec
true (branch) 1932996.1 Ops/sec
false (branch) 1951070.1 Ops/sec
true (ternary) 1873383.6 Ops/sec
false (ternary) 1909419.5 Ops/sec
Script Preparation code:
Tests:
  • true (binary)

  • false (binary)

  • true (branch)

  • false (branch)

  • true (ternary)

  • false (ternary)


;