HTML Preparation code:
Script Preparation code:
Tests:

Historical Performance Data aggregated from 42 community runs

Desktop Results:
Chrome 42 runs
Native JavaScript
7.6M/s
_.isEmpty
6.5M/s

Fastest: Native JavaScript (1.2x faster)

View exact numbers
  • Native JavaScript: 7,645,096 ops/sec
  • _.isEmpty: 6,455,400 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
    Native JavaScript

    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/137.0.0.0 Safari/537.36
Chrome 137 on Mac OS X 10.15.7
View result in a separate tab
Native JavaScript
46.9M/s
_.isEmpty
32.4M/s
View exact numbers
Test name Executions per second
Native JavaScript 46,924,752 Ops/sec
_.isEmpty 32,369,498 Ops/sec