Skip to content

feat(apollo-forest-run): optimize reads for a "preloader pattern"#642

Draft
vladar wants to merge 20 commits intomainfrom
vladar/forest-run-read-optimization-v2
Draft

feat(apollo-forest-run): optimize reads for a "preloader pattern"#642
vladar wants to merge 20 commits intomainfrom
vladar/forest-run-read-optimization-v2

Conversation

@vladar
Copy link
Contributor

@vladar vladar commented Mar 13, 2026

Optimize a "preloader pattern" where one operation explicitly covers selection of several other operations.

@github-actions
Copy link

github-actions bot commented Mar 13, 2026

📊 Benchmark Analysis Report

🔍 Found 7 significant change(s)

🎯 Same Configuration Comparisons

Comparing against baseline with the same cache configuration

Benchmark ID Configuration Execution Memory
write-no-changes_50 Default 🔴 5320.44 bytes → 7320.55 bytes (37.6%)
read-list-from-preloader_0 Default 🟢 1000054.17 ns → 517967.27 ns (-48.2%) 🟢 823843.36 bytes → 299259.59 bytes (-63.7%)
read-list-from-preloader_50 Default 🟢 992961.51 ns → 515483.30 ns (-48.1%) 🟢 820226.19 bytes → 295769.69 bytes (-63.9%)
read-header-from-preloader_0 Default 🟢 45290.53 bytes → 33592.36 bytes (-25.8%)
read-header-from-preloader_50 Default 🟢 46042.32 bytes → 33017.10 bytes (-28.3%)
read-preloader-from-parts_0 Default 🟢 1015474.63 ns → 548079.68 ns (-46.0%) 🟢 847454.47 bytes → 337027.81 bytes (-60.2%)
read-preloader-from-parts_50 Default 🟢 1008148.02 ns → 535015.39 ns (-46.9%) 🟢 847120.62 bytes → 331221.16 bytes (-60.9%)

Threshold: 5% change


Updated: 2026-03-16T18:35:50.434Z

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant