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
2 years ago
Test name Executions per second
Lodash Get simple data with String 4386473.0 Ops/sec
Lodash Get medium data with String and brackets 2297268.0 Ops/sec
Lodash Get medium data with String without brackets 2371048.0 Ops/sec
Lodash Get complex data with String and brackets 2118026.0 Ops/sec
Lodash Get complex data with String without brackets 2132879.0 Ops/sec
Lodash Get simple data with Array 4699569.0 Ops/sec
Lodash Get medium data with Array 4129623.0 Ops/sec
Lodash Get complex data with Array 3500251.0 Ops/sec
New Get simple data with String 1904763.0 Ops/sec
New Get medium data with String and brackets 1278296.0 Ops/sec
New Get medium data with String without brackets 1295472.0 Ops/sec
New Get complex data with String and brackets 909403.7 Ops/sec
New Get complex data with String without brackets 906197.2 Ops/sec
New Get simple data with Array 2578639.0 Ops/sec
New Get medium data with Array 2300784.0 Ops/sec
New Get complex data with Array 2086914.0 Ops/sec
Improved Get simple data with String 1895099.0 Ops/sec
Improved Get medium data with String 1723398.0 Ops/sec
Improved Get complex data with String 1597770.0 Ops/sec
Improved Get simple data with Array 2710388.0 Ops/sec
Improved Get medium data with Array 2270132.0 Ops/sec
Improved Get complex data with Array 2092891.0 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • Lodash Get simple data with String

  • Improved Get simple data with Array

  • Improved Get complex data with String

  • Improved Get medium data with String

  • Improved Get simple data with String

  • New Get complex data with Array

  • New Get medium data with Array

  • New Get simple data with Array

  • New Get complex data with String without brackets

  • New Get complex data with String and brackets

  • New Get medium data with String without brackets

  • New Get medium data with String and brackets

  • New Get simple data with String

  • Lodash Get complex data with Array

  • Lodash Get medium data with Array

  • Lodash Get simple data with Array

  • Lodash Get complex data with String without brackets

  • Lodash Get complex data with String and brackets

  • Lodash Get medium data with String without brackets

  • Lodash Get medium data with String and brackets

  • Improved Get medium data with Array

  • Improved Get complex data with Array