Revert regressive vector PDF zoom experiment - #321
Draft
DutchSailor wants to merge 1 commit into
Draft
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Samenvatting
Draait de volledige vector-PDF-performance-experimentreeks uit de inmiddels gemergede PR #320 terug nadat praktijkgebruik met MV-03 een duidelijke vertraging liet zien. De productcode keert terug naar de toestand vóór het onderzoek (
5d405c32).Oorzaak van de regressie
De onderzoeksbenchmark stelde fysieke HiDPI-scherpte gelijk aan interactief gereed zijn. Daardoor werd op 150% niet langer een lichte tegel van 923×896 (schaal 1,5; circa 3,3 MB) gebruikt, maar een coverage-tegel van 2769×2688 (schaal 4,5; circa 29,8 MB).
Dat betekende negen keer zoveel pixels per zichtregio. Daarnaast kon speculatieve coverage-voorwarming op dezelfde worker voor echte zoom- en panverzoeken terechtkomen. Alternatieve combinaties van CSS-LOD, voorwarming en worker-affinity verschoven de wachttijd of verhoogden het geheugen tot circa 5,15 GB, maar leverden geen betrouwbare praktijkwinst op.
Wat deze PR doet
Herstelmeting MV-03
Op het herstelde productpad:
De eerste tegel blijft afhankelijk van de complexiteit van de PDF, maar verdere zoomstappen gebruiken opnieuw direct de lichte gecachte tegel.
Validatie
npm run test:unit: 66/66 geslaagd;