Script Preparation code:
AخA
 
var obj = 'string';
Tests:
  • boolean

     
    Boolean(obj) 
  • typeof

     
    typeof obj === 'string'
Rendered benchmark preparation results:

Suite status: <idle, ready to run>

Previous results

Experimental features:

  • Test case name Result
    boolean
    typeof

    Fastest: N/A

    Slowest: N/A

Latest run results:
Run details: (Test run date: 5 months ago)
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/129.0.0.0 Safari/537.36
Chrome 129 on Linux
View result in a separate tab
Test name Executions per second
boolean 5281291.5 Ops/sec
typeof 9025607.0 Ops/sec