Commit 8de7aed
authored
[Fizz] Count Boundary bytes that may contribute to the preamble in the request byteSize (#34059)
Stacked on #34058
When tracking how large the shell is we currently only track the bytes
of everything above Suspense boundaries. However since Boundaries that
contribute to the preamble will always be inlined when the shell flushes
they should also be considered as part of the request byteSize since
they always flush alongside the shell. This change adds this tracking1 parent 9877346 commit 8de7aed
File tree
2 files changed
+61
-0
lines changed- packages
- react-dom/src/__tests__
- react-server/src
2 files changed
+61
-0
lines changedLines changed: 53 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10731 | 10731 | | |
10732 | 10732 | | |
10733 | 10733 | | |
| 10734 | + | |
| 10735 | + | |
| 10736 | + | |
| 10737 | + | |
| 10738 | + | |
| 10739 | + | |
| 10740 | + | |
| 10741 | + | |
| 10742 | + | |
| 10743 | + | |
| 10744 | + | |
| 10745 | + | |
| 10746 | + | |
| 10747 | + | |
| 10748 | + | |
| 10749 | + | |
| 10750 | + | |
| 10751 | + | |
| 10752 | + | |
| 10753 | + | |
| 10754 | + | |
| 10755 | + | |
| 10756 | + | |
| 10757 | + | |
| 10758 | + | |
| 10759 | + | |
| 10760 | + | |
| 10761 | + | |
| 10762 | + | |
| 10763 | + | |
| 10764 | + | |
| 10765 | + | |
| 10766 | + | |
| 10767 | + | |
| 10768 | + | |
| 10769 | + | |
| 10770 | + | |
| 10771 | + | |
| 10772 | + | |
| 10773 | + | |
| 10774 | + | |
| 10775 | + | |
| 10776 | + | |
| 10777 | + | |
| 10778 | + | |
| 10779 | + | |
| 10780 | + | |
| 10781 | + | |
| 10782 | + | |
| 10783 | + | |
| 10784 | + | |
| 10785 | + | |
| 10786 | + | |
10734 | 10787 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5504 | 5504 | | |
5505 | 5505 | | |
5506 | 5506 | | |
| 5507 | + | |
| 5508 | + | |
| 5509 | + | |
5507 | 5510 | | |
5508 | 5511 | | |
5509 | 5512 | | |
| |||
5550 | 5553 | | |
5551 | 5554 | | |
5552 | 5555 | | |
| 5556 | + | |
5553 | 5557 | | |
5554 | 5558 | | |
5555 | 5559 | | |
5556 | 5560 | | |
5557 | 5561 | | |
5558 | 5562 | | |
5559 | 5563 | | |
| 5564 | + | |
| 5565 | + | |
| 5566 | + | |
| 5567 | + | |
5560 | 5568 | | |
5561 | 5569 | | |
5562 | 5570 | | |
| |||
0 commit comments