From 93628163639a693596d6eea5a91948a67d8376f4 Mon Sep 17 00:00:00 2001 From: Abdessamad Derraz <3028866+Abdess@users.noreply.github.com> Date: Fri, 13 Nov 2026 17:34:53 +0100 Subject: [PATCH] chore: weigh the header wanted link per page The Wanted files link in the header of every page adds about 80 bytes a page. Batocera, AmberELEC, RomM and RetroArch ran over their byte budget on Validation of aada55e65; each budget is now the size of its pages on the site deployed from that commit. --- tests/test_site_platform_density.py | 24 ++++++++++++++++-------- 1 file changed, 16 insertions(+), 8 deletions(-) diff --git a/tests/test_site_platform_density.py b/tests/test_site_platform_density.py index 4f6049045..100ff4c34 100644 --- a/tests/test_site_platform_density.py +++ b/tests/test_site_platform_density.py @@ -292,8 +292,10 @@ BEFORE_WEIGHT = { # Vita PUPs, dsi_nand.bin): 1,396,955 bytes on the site deployed from # 7d6efc352, 1,396,475 without the assets. Generated at 8d87f28cd and at # 750a6eb8e from the same inputs, the Markdown of all 13 pages is the - # same size. - "batocera": (13, 18_854, 1_396_955), + # same size. The "Wanted files" link in the header of every page adds + # about 80 bytes a page: 1,398,008 bytes on the site deployed from + # aada55e65. + "batocera": (13, 18_854, 1_398_008), # AmberELEC's MSX files cite the fMSX ROM loader since 2026-11-11 (fMSX # named 82 times instead of 28, the same 295 files): the section moved # to a part page of its own, 2 pages, 7,160 elements and 545,681 bytes @@ -301,18 +303,24 @@ BEFORE_WEIGHT = { # that read the set (546,385 bytes on the built site of 2026-11-11). # The openMSX system ROMs collected on 2026-11-12 split the MSX system # page in two, and nine of its files now link to microsoft-msx-2: - # 546,403 bytes on the built site of 82d134cd8. - "amberelec": (2, 7_928, 546_403), + # 546,403 bytes on the built site of 82d134cd8. The "Wanted files" link + # in the header of every page: 546,565 bytes on the site deployed from + # aada55e65. + "amberelec": (2, 7_928, 546_565), # RomM's PS2 page names scph10000.bin, the label LRPS2 reads through # RetroDECK's pcsx2_bios option, beside SCPH-10000.bin since 2026-11-13: - # 572,528 bytes on the built site of that day. - "romm": (2, 9_561, 572_528), + # 572,528 bytes on the built site of that day. The "Wanted files" link + # in the header of every page: 572,690 bytes on the site deployed from + # aada55e65. + "romm": (2, 9_561, 572_690), # RetroArch's MSX files cite the fMSX ROM loader and its ScummVM files # the readers of each data file since 2026-11-11 (46,737 and 9,275 bytes # more): 1,433,702 bytes on the built site of 964875572. Its PS2 page # names scph10000.bin with the LRPS2 refs that read it since 2026-11-13: - # 1,434,426 bytes on the built site of that day. - "retroarch": (14, 21_503, 1_434_426), + # 1,434,426 bytes on the built site of that day. The "Wanted files" link + # in the header of every page: 1,435,479 bytes on the site deployed from + # aada55e65. + "retroarch": (14, 21_503, 1_435_479), }