Run details:
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.45 Safari/537.36
Chrome 96
Windows
Desktop
3 years ago
Test name Executions per second
Lodash 1705488.5 Ops/sec
Native 1806001.1 Ops/sec
HTML Preparation code:
x
 
1
2
<script src='https://cdnjs.cloudflare.com/ajax/libs/lodash.js/4.17.5/lodash.min.js'></script>
Script Preparation code:
 
var value = {a: 30310, b: 100303, c: 3040494};
Tests:
  • Lodash

     
    _.values(value)
  • Native

     
    Object.values(value)