HTML Preparation code:
Script Preparation code:
Tests:

Historical Performance Data aggregated from 8 community runs

Desktop Results:
Chrome 8 runs
typeof
131.4M/s
isObject
81.1M/s
isObjectLike
79.2M/s

Fastest: typeof (1.7x faster)

View exact numbers
  • typeof: 131,448,240 ops/sec
  • isObject: 81,076,760 ops/sec
  • isObjectLike: 79,202,760 ops/sec

Results show median performance across all community submissions. Run this benchmark yourself to verify on your device.

Rendered benchmark preparation results:

Suite status: <idle, ready to run>

Previous results
  • Test case name Result
    isObject
    typeof
    isObjectLike

    Fastest: N/A

    Slowest: N/A

Latest run results:
Run details: (Test run date: one year ago)
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/135.0.0.0 Safari/537.36
Chrome 135 on Linux
View result in a separate tab
typeof
155.4M/s
isObjectLike
142.3M/s
isObject
141.2M/s
View exact numbers
Test name Executions per second
typeof 155,357,232 Ops/sec
isObjectLike 142,293,376 Ops/sec
isObject 141,247,632 Ops/sec