Run details:
Mozilla/5.0 (Linux; Android 11) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/108.0.0.0 Mobile Safari/537.36
Chrome Mobile 108
Android
Mobile
one year ago
Test name Executions per second
Object.values(obj) 2491580.5 Ops/sec
_.values(obj) 2361692.5 Ops/sec
for...in 5853024.5 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • Object.values(obj)

  • _.values(obj)

  • for...in