Repository navigation
Query optimization - #677
Merged
Merged
Conversation
Add a new 'generate_perf_data' management command that allows us to generate projects, series and patches for testing purposes. Signed-off-by: Stephen Finucane <stephen@that.guru> Assisted-by: OpenAI gpt-6.1-sol (via pi)
Reuse each bound field's serializer instead of rebuilding its fields for every related object. Signed-off-by: Stephen Finucane <stephen@that.guru> Assisted-by: OpenAI gpt-6.1-sol (via pi)
Defer the content, diff and headers fields when prefetching embedded patches: these are not used or needed. Signed-off-by: Stephen Finucane <stephen@that.guru>
Page over patch IDs before loading joined rows, and add indexes for project-scoped ID and date ordering. Signed-off-by: Stephen Finucane <stephen@that.guru> Assisted-by: OpenAI gpt-6.1-sol (via pi)
Load comment parents and projects when archive URLs are exposed, without fetching unused parent message bodies. Signed-off-by: Stephen Finucane <stephen@that.guru> Assisted-by: OpenAI gpt-6.1-sol (via pi)
Cover project/submitter lookups and project/name ordering and substring-search counts. Signed-off-by: Stephen Finucane <stephen@that.guru> Assisted-by: OpenAI gpt-6.1-sol (via pi)
Support project-scoped name and date ordering without sorting all series. Signed-off-by: Stephen Finucane <stephen@that.guru> Assisted-by: OpenAI gpt-6.1-sol (via pi)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Add a synthetic data generator to help us test performance at scale. This highlights a number of obvious API and model changes to improve performance.
Commits:
Add synthetic data generator for performance testingapi: Reuse embedded serializersapi: Avoid fetching patch bodies when listing seriesapi: Optimize patch list pagination and orderingapi: Avoid per-reply parent queriesmodels: Index project patch filtering and name orderingmodels: Index project series ordering