Script Preparation code:
Tests:
  • Group by split (unknown namespaces)

  • Known namespaces

  • Convert all from ids to entities (map)

  • Convert all from entities to entitiesArray (object keys)

  • Take all and filter by namespace

Rendered benchmark preparation results:

Suite status: <idle, ready to run>

Previous results
  • Test case name Result
    Group by split (unknown namespaces)
    Known namespaces
    Convert all from ids to entities (map)
    Convert all from entities to entitiesArray (object keys)
    Take all and filter by namespace

    Fastest: N/A

    Slowest: N/A

Get performance results from real users on your website with Request Metrics.
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/97.0.4692.71 Safari/537.36
Chrome 97 on Windows
View result in a separate tab
Test name Executions per second
Group by split (unknown namespaces) 342.9 Ops/sec
Known namespaces 1251.5 Ops/sec
Convert all from ids to entities (map) 1860.0 Ops/sec
Convert all from entities to entitiesArray (object keys) 398.0 Ops/sec
Take all and filter by namespace 1567.3 Ops/sec