Run details:
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.106 Safari/537.36
Chrome 83
Linux
Desktop
4 years ago
Test name Executions per second
Object.values(obj) 1485173.8 Ops/sec
_.values(obj) 764865.5 Ops/sec
for...in 1119920.1 Ops/sec
for...in number 437937.1 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • Object.values(obj)

  • _.values(obj)

  • for...in

  • for...in number