Tests:
  • !! (number)

  • Boolean() (number)

  • ternary (number)

  • !! (string)

  • Boolean() (string)

  • ternary (string)

Rendered benchmark preparation results:

Suite status: <idle, ready to run>

Previous results
  • Test case name Result
    !! (number)
    Boolean() (number)
    ternary (number)
    !! (string)
    Boolean() (string)
    ternary (string)

    Fastest: N/A

    Slowest: N/A

Latest run results:
Run details: (Test run date: 7 months ago)
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:124.0) Gecko/20100101 Firefox/124.0
Firefox 124 on Windows
View result in a separate tab
Test name Executions per second
!! (number) 986763008.0 Ops/sec
Boolean() (number) 984892480.0 Ops/sec
ternary (number) 989451904.0 Ops/sec
!! (string) 989081152.0 Ops/sec
Boolean() (string) 982467200.0 Ops/sec
ternary (string) 984012736.0 Ops/sec


;