HTML Preparation code:
AخA
 
1
<script src="https://cdnjs.cloudflare.com/ajax/libs/lodash.js/4.17.21/lodash.js"></script>
Script Preparation code:
 
var person = {name: 'Frederick', lastName: 'Corcino Alejo'};
Tests:
  • Lodash Assing

     
    _.assign({}, person, {age: 15});
  • Native Assing

     
    Object.assign({}, person, {age: 15});
Rendered benchmark preparation results:

Suite status: <idle, ready to run>

Previous results

Experimental features:

  • Test case name Result
    Lodash Assing
    Native Assing

    Fastest: N/A

    Slowest: N/A

Latest run results:
Run details: (Test run date: one month ago)
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/134.0.0.0 Safari/537.36
Chrome 134 on Windows
View result in a separate tab
Test name Executions per second
Lodash Assing 4155800.5 Ops/sec
Native Assing 11253544.0 Ops/sec