Lodash isEmpty vs Native Javascript, many keys (version: 0)
This benchmark compares the performance of lodash's `isEmpty` function with native JavaScript code for checking if an object is empty. The lodash `isEmpty` function checks if a value is an empty object, collection, map, or set. The native JavaScript code checks if an object has no own enumerable string keyed properties.
Comparing performance of: _.isEmpty vs Native JavaScript
Memory measurements supported only in Chrome.
For precise memory measurements Chrome must be launched with --enable-precise-memory-info flag.
More information: Monitoring JavaScript Memory
Test case name
Result
_.isEmpty
Native JavaScript
Fastest:N/A
Slowest:N/A
Latest run results:
Run details: (Test run date:
7 months ago)
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/124.0.0.0 Safari/537.36