Tests:
  • creating maps

    AخA
     
    for (let i = 0; i < 1000; ++i) {
      const map = new Map()
      map.set(i + "", i)
    }
  • creating objects

     
    for (let i = 0; i < 1000; ++i) {
      const obj = {}
      obj[i + ""] = i
    }
Rendered benchmark preparation results:

Suite status: <idle, ready to run>

Previous results

Experimental features:

  • Test case name Result
    creating maps
    creating objects

    Fastest: N/A

    Slowest: N/A

Latest run results:
Run details: (Test run date: 6 months ago)
Mozilla/5.0 (Linux; Android 10; K) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/128.0.0.0 Mobile Safari/537.36
Chrome Mobile 128 on Android
View result in a separate tab
Test name Executions per second
creating maps 2702.9 Ops/sec
creating objects 423.0 Ops/sec