Script Preparation code:
AخA
 
var obj = {a: 'val1'};
Tests:
  • typeof

     
    typeof(obj) === 'object'
  • constructor

     
    obj && obj.constructor === Object
Rendered benchmark preparation results:

Suite status: <idle, ready to run>

Previous results

Experimental features:

  • Test case name Result
    typeof
    constructor

    Fastest: N/A

    Slowest: N/A

Latest run results:
Run details: (Test run date: 2 years ago)
Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/108.0.0.0 Safari/537.36
Chrome 108 on Windows
View result in a separate tab
Test name Executions per second
typeof 12532875.0 Ops/sec
constructor 3333474.8 Ops/sec