Run details:
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/130.0.0.0 Safari/537.36
Chrome 130
Windows
Desktop
26 days ago
Test name Executions per second
!! (number) 106700400.0 Ops/sec
Boolean() (number) 9652053.0 Ops/sec
ternary (number) 115526056.0 Ops/sec
!! (string) 111984648.0 Ops/sec
Boolean() (string) 9413202.0 Ops/sec
ternary (string) 110853144.0 Ops/sec
Tests:
  • !! (number)

  • Boolean() (number)

  • ternary (number)

  • !! (string)

  • Boolean() (string)

  • ternary (string)


;