Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/65.0.3325.181 Safari/537.36
Chrome 65
Mac OS X 10.13.3
Other
6 years ago
Test name Executions per second
_.keys with map 213300.0 Ops/sec
native with map 211994.3 Ops/sec
native with forEach 197972.2 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • _.keys with map

  • native with map

  • native with forEach