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.0 Ops/sec
false (binary) 1911472.0 Ops/sec
true (branch) 1932996.0 Ops/sec
false (branch) 1951070.0 Ops/sec
true (ternary) 1873384.0 Ops/sec
false (ternary) 1909420.0 Ops/sec
Script Preparation code:
Tests:
  • true (binary)

  • false (binary)

  • true (branch)

  • false (branch)

  • true (ternary)

  • false (ternary)