HTML Preparation code:
Script Preparation code:
Tests:

Historical Performance Data aggregated from 52 community runs

Desktop Results:
Chrome 52 runs
Object.keys().length
811K/s
_.isEmpty
770K/s
View exact numbers
  • Object.keys().length: 811,098 ops/sec
  • _.isEmpty: 770,423 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
    _.isEmpty
    Object.keys().length

    Fastest: N/A

    Slowest: N/A

Latest run results:
Run details: (Test run date: 6 months ago)
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36
Chrome 144 on Mac OS X 10.15.7
View result in a separate tab
Object.keys().length
1.2M/s
_.isEmpty
1.1M/s
View exact numbers
Test name Executions per second
Object.keys().length 1,152,251 Ops/sec
_.isEmpty 1,104,897 Ops/sec