Run details:
Mozilla/5.0 (iPhone; CPU iPhone OS 15_6 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) CriOS/96.0.4664.53 Mobile/15E148 Safari/604.1
Chrome Mobile iOS 96
iOS 15.6
Mobile
2 years ago
Test name Executions per second
Object.values(obj) 3692635.8 Ops/sec
_.values(obj) 3933171.5 Ops/sec
for...in 10030227.0 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • Object.values(obj)

  • _.values(obj)

  • for...in