Run details:
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/107.0.0.0 Safari/537.36
Chrome 107
Windows
Desktop
2 years ago
Test name Executions per second
Native Int Small 515.9 Ops/sec
Native Int Large 4.9 Ops/sec
Lodash Int Small 626.8 Ops/sec
Lodash Int Large 6.2 Ops/sec
Native Str Small 132.4 Ops/sec
Native Str Large 1.4 Ops/sec
Lodash Str Small 142.5 Ops/sec
Lodash Str Large 1.4 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • Native Int Small

  • Native Int Large

  • Lodash Int Small

  • Lodash Int Large

  • Native Str Small

  • Native Str Large

  • Lodash Str Small

  • Lodash Str Large