HTML Preparation code:
Script Preparation code:
Tests:
  • Lodash with same object

  • Lodash with equal objects

  • Lodash with different objects

  • Lodash with different types

  • JSON.stringify with same object

  • JSON.stringify with equal objects

  • JSON.stringify with different objects

  • JSON.stringify with different types

Rendered benchmark preparation results:

Suite status: <idle, ready to run>

Previous results
  • Test case name Result
    Lodash with same object
    Lodash with equal objects
    Lodash with different objects
    Lodash with different types
    JSON.stringify with same object
    JSON.stringify with equal objects
    JSON.stringify with different objects
    JSON.stringify with different types

    Fastest: N/A

    Slowest: N/A

Latest run results:
Run details: (Test run date: one year ago)
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/115.0.0.0 Safari/537.36 Edg/115.0.1901.188
Chrome 115 on Windows
View result in a separate tab
Test name Executions per second
Lodash with same object 1773104.4 Ops/sec
Lodash with equal objects 277555.1 Ops/sec
Lodash with different objects 535905.1 Ops/sec
Lodash with different types 1095023.1 Ops/sec
JSON.stringify with same object 170078.6 Ops/sec
JSON.stringify with equal objects 258546.2 Ops/sec
JSON.stringify with different objects 440289.5 Ops/sec
JSON.stringify with different types 445333.8 Ops/sec