HTML Preparation code:
Script Preparation code:
Tests:
  • _.isEmpty

  • Object.keys().length

  • getOwnPropertyNames

  • isEmpty

Rendered benchmark preparation results:

Suite status: <idle, ready to run>

Previous results
  • Test case name Result
    _.isEmpty
    Object.keys().length
    getOwnPropertyNames
    isEmpty

    Fastest: N/A

    Slowest: N/A

Get performance results from real users on your website with Request Metrics.
Latest run results:
Run details: (Test run date: 2 years ago)
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/98.0.4758.82 Safari/537.36
Chrome 98 on Windows
View result in a separate tab
Test name Executions per second
_.isEmpty 444815.8 Ops/sec
Object.keys().length 482051.7 Ops/sec
getOwnPropertyNames 192234.2 Ops/sec
isEmpty 2681046.0 Ops/sec