HTML Preparation code:
AخA
 
1
<script src="https://cdnjs.cloudflare.com/ajax/libs/lodash.js/4.17.11/lodash.js"></script>
Script Preparation code:
 
const obj = {
    test: 1,
    test2: 2
}
Tests:
  • native delete

     
    const obj = {
        test: 1,
        test2: 2
    }
    delete obj.test
  • omit

     
    const obj = {
        test: 1,
        test2: 2
    }
    _.omit(obj,['test'])
Rendered benchmark preparation results:

Suite status: <idle, ready to run>

Previous results

Experimental features:

  • Test case name Result
    native delete
    omit

    Fastest: N/A

    Slowest: N/A

Latest run results:
Run details: (Test run date: 2 years ago)
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/102.0.0.0 Safari/537.36
Chrome 102 on Mac OS X 10.15.7
View result in a separate tab
Test name Executions per second
native delete 5236534.0 Ops/sec
omit 985263.8 Ops/sec