This repository was archived by the owner on Jun 13, 2025. It is now read-only.
Commit cdbd476
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 ab4cb5b commit cdbd476
1 file changed
+8
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
393 | 393 | | |
394 | 394 | | |
395 | 395 | | |
396 | | - | |
397 | 396 | | |
398 | | - | |
| 397 | + | |
399 | 398 | | |
400 | 399 | | |
401 | | - | |
402 | | - | |
| 400 | + | |
403 | 401 | | |
| 402 | + | |
| 403 | + | |
| 404 | + | |
404 | 405 | | |
405 | | - | |
| 406 | + | |
| 407 | + | |
| 408 | + | |
406 | 409 | | |
407 | 410 | | |
408 | 411 | | |
| |||
0 commit comments