HTML Preparation code:
Script Preparation code:
Tests:

Historical Performance Data aggregated from 5 community runs

Desktop Results:
Chrome 5 runs
typeof
15.2M/s
Lodash isPlainObject
10.0M/s

Fastest: typeof (1.5x faster)

View exact numbers
  • typeof: 15,193,470 ops/sec
  • Lodash isPlainObject: 10,031,970 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
    Lodash isPlainObject
    typeof

    Fastest: N/A

    Slowest: N/A

Latest run results:
Run details: (Test run date: one year ago)
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/133.0.0.0 Safari/537.36
Chrome 133 on Mac OS X 10.15.7
View result in a separate tab
typeof
171.1M/s
Lodash isPlainObject
153.7M/s
View exact numbers
Test name Executions per second
typeof 171,097,344 Ops/sec
Lodash isPlainObject 153,665,312 Ops/sec