A significant portion of the latency in the Hardware Details Summary endpoint comes from resolving the 'head' string into a commit hash for each tree.
To optimize this, I suggest the following:
- Frontend: Whenever possible, please pass the direct commit hash instead of the 'head' alias.
- Backend: If the request contains only direct hashes, we should skip the 'head' resolution logic entirely to save processing time.
This change should improve response times for the hardware summarization.
A significant portion of the latency in the Hardware Details Summary endpoint comes from resolving the 'head' string into a commit hash for each tree.
To optimize this, I suggest the following:
This change should improve response times for the hardware summarization.