Tests:
  • Object.assign

  • for in loop

  • for of loop

  • for Object entries

  • for in without check

Rendered benchmark preparation results:

Suite status: <idle, ready to run>

Previous results
  • Test case name Result
    Object.assign
    for in loop
    for of loop
    for Object entries
    for in without check

    Fastest: N/A

    Slowest: N/A

Latest run results:
Run details: (Test run date: one year ago)
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:109.0) Gecko/20100101 Firefox/111.0
Firefox 111 on Mac OS X 10.15
View result in a separate tab
Test name Executions per second
Object.assign 11592283.0 Ops/sec
for in loop 17092460.0 Ops/sec
for of loop 7126999.0 Ops/sec
for Object entries 4244930.5 Ops/sec
for in without check 19349014.0 Ops/sec