Run details:
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/94.0.4606.81 Safari/537.36
Chrome 94
Linux
Desktop
3 years ago
Test name Executions per second
Lodash Get simple data with String 4208227.5 Ops/sec
Lodash Get medium data with String and brackets 2389138.2 Ops/sec
Lodash Get medium data with String without brackets 2329870.8 Ops/sec
Lodash Get complex data with String and brackets 2064335.8 Ops/sec
Lodash Get complex data with String without brackets 2098724.5 Ops/sec
Lodash Get simple data with Array 4440784.0 Ops/sec
Lodash Get medium data with Array 3796486.0 Ops/sec
Lodash Get complex data with Array 3214805.0 Ops/sec
New Get simple data with String 1939059.6 Ops/sec
New Get medium data with String and brackets 1270185.5 Ops/sec
New Get medium data with String without brackets 1283213.6 Ops/sec
New Get complex data with String and brackets 898515.1 Ops/sec
New Get complex data with String without brackets 919850.8 Ops/sec
New Get simple data with Array 2573869.5 Ops/sec
New Get medium data with Array 2295781.2 Ops/sec
New Get complex data with Array 2086356.2 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • Lodash Get simple data with String

  • Lodash Get medium data with String and brackets

  • Lodash Get medium data with String without brackets

  • Lodash Get complex data with String and brackets

  • Lodash Get complex data with String without brackets

  • Lodash Get simple data with Array

  • Lodash Get medium data with Array

  • Lodash Get complex data with Array

  • New Get simple data with String

  • New Get medium data with String and brackets

  • New Get medium data with String without brackets

  • New Get complex data with String and brackets

  • New Get complex data with String without brackets

  • New Get simple data with Array

  • New Get medium data with Array

  • New Get complex data with Array