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 4274338.0 Ops/sec
Lodash Get medium data with String and brackets 2235058.2 Ops/sec
Lodash Get medium data with String without brackets 2300611.2 Ops/sec
Lodash Get complex data with String and brackets 2001076.0 Ops/sec
Lodash Get complex data with String without brackets 2364665.5 Ops/sec
Lodash Get simple data with Array 4750576.5 Ops/sec
Lodash Get medium data with Array 4039162.0 Ops/sec
Lodash Get complex data with Array 3429050.2 Ops/sec
New Get simple data with String 1801048.1 Ops/sec
New Get medium data with String and brackets 1233820.4 Ops/sec
New Get medium data with String without brackets 1209162.5 Ops/sec
New Get complex data with String and brackets 881843.2 Ops/sec
New Get complex data with String without brackets 874114.0 Ops/sec
New Get simple data with Array 2557028.5 Ops/sec
New Get medium data with Array 2251397.2 Ops/sec
New Get complex data with Array 2036058.9 Ops/sec
Improved Get simple data with String 1849857.0 Ops/sec
Improved Get medium data with String 1699080.8 Ops/sec
Improved Get complex data with String 1546898.8 Ops/sec
Improved Get simple data with Array 2572924.2 Ops/sec
Improved Get medium data with Array 2278791.8 Ops/sec
Improved Get complex data with Array 1974655.4 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