Script Preparation code:
Tests:
Rendered benchmark preparation results:

Suite status: <idle, ready to run>

Previous results
  • Test case name Result
    finding item using find with Object.values
    finding item using find without Object.values (accessing entities using the ids array)
    using the itemIdByUuid "projection" we created

    Fastest: N/A

    Slowest: N/A

Latest run results:
Run details: (Test run date: 2 years ago)
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/123.0.0.0 Safari/537.36
Chrome 123 on Windows
View result in a separate tab
using the itemIdByUuid "projection" we created
2.1M/s
finding item using find without Object.values (accessing entities using the ids array)
2K/s
finding item using find with Object.values
768/s
View exact numbers
Test name Executions per second
using the itemIdByUuid "projection" we created 2,131,274 Ops/sec
finding item using find without Object.values (accessing entities using the ids array) 1,698 Ops/sec
finding item using find with Object.values 768 Ops/sec