Run details:
Mozilla/5.0 (Linux; Android 10; MI 8) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.101 Mobile Safari/537.36
Chrome Mobile 83
Android
Mobile
4 years ago
Test name Executions per second
Object.values(obj) 1294160.5 Ops/sec
_.values(obj) 742242.1 Ops/sec
for...in 927718.8 Ops/sec
for...in number 415285.6 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • Object.values(obj)

  • _.values(obj)

  • for...in

  • for...in number