Tests:
Rendered benchmark preparation results:

Suite status: <idle, ready to run>

Previous results
  • Test case name Result
    .fill("").map()
    .fill(null).map()
    .fill(undefined).map()
    .fill(true).map()

    Fastest: N/A

    Slowest: N/A

Latest run results:
Run details: (Test run date: 2 years ago)
Mozilla/5.0 (Linux; Android 10; K) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/121.0.0.0 Mobile Safari/537.36
Chrome Mobile 121 on Android
View result in a separate tab
.fill(undefined).map()
1.1M/s
.fill(true).map()
1.1M/s
.fill("").map()
1.1M/s
.fill(null).map()
1.1M/s
View exact numbers
Test name Executions per second
.fill(undefined).map() 1,141,504 Ops/sec
.fill(true).map() 1,137,588 Ops/sec
.fill("").map() 1,109,655 Ops/sec
.fill(null).map() 1,087,131 Ops/sec