This repository was archived by the owner on Jun 13, 2025. It is now read-only.
Commit 323ee99
committed
Use the
This is loading the `parent_commit` using the async batch-loading `CommitLoader`.
This way, we can avoid one of the N+1 queries being executed when executing the `GetCommits` GraphQL query.
However, we are still loading all the BA `CommitReport`s separately within `load_bundle_analysis_comparison`, which is another 2N+1 problem on its own.
Will solve that one another time :-)CommitLoader for bundleAnalysisCompareWithParent
1 parent f717a2b commit 323ee99
1 file changed
+8
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
391 | 391 | | |
392 | 392 | | |
393 | 393 | | |
394 | | - | |
395 | 394 | | |
396 | | - | |
| 395 | + | |
397 | 396 | | |
398 | 397 | | |
399 | | - | |
400 | | - | |
| 398 | + | |
401 | 399 | | |
| 400 | + | |
| 401 | + | |
| 402 | + | |
402 | 403 | | |
403 | | - | |
| 404 | + | |
| 405 | + | |
| 406 | + | |
404 | 407 | | |
405 | 408 | | |
406 | 409 | | |
| |||
0 commit comments