Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_3) AppleWebKit/604.5.6 (KHTML, like Gecko) Version/11.0.3 Safari/604.5.6
Safari 11
Mac OS X 10.13.3
Desktop
5 years ago
Test name Executions per second
_.isEmpty 1809298.8 Ops/sec
Object.keys().length 196817.2 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • _.isEmpty

  • Object.keys().length