Repository navigation
test(engine): sweep a PDF's cancellation checks on a small page - #3573
Conversation
|
No actionable comments were generated in the recent review. Walkthrough
Merge Risk:
|
Code reviewScope: PR #3573, one file, BugsNone found. I checked that SecurityNone. The change is test-only. PerformanceNone in shipped code. The test-time reduction is the point of the PR. The author's measurements (A4 822 s, 50 mm 39 s on one machine, 32 checks retained) are plausible, but I could not run the test here, so I have not verified them. Quality
AGENTS.mdNo violations. The change adds no command, parameter or assertion, so TwinsI checked the other entries in the same sweep. The PDF read shares the queue with the other Prior reviewsThere were no existing review threads on this PR, so I left no earlier concerns alone. Change sizeCompared with the base branch: the whole PR against main (merge base 528d57c to PR head fe38ab7).
|
📖 Docs preview
GitHub Pages takes a minute or two to publish a new commit. Newer commits from the fork aren't published until a maintainer adds the |
Summary
cancelling_at_each_check_leaves_nothing_behinddecides how long the test job takes: it runs alone at the end for 3 to 7 minutes while the other cores wait. Nearly all of it (822 of 857 seconds on one machine) is one of its 94 cases, adding a one-page PDF. At each of that case's 32 checks, the sweep draws, measures and compares every pixel of an A4 page.The page is now 50 mm square, which reaches the same 32 checks. A 25 mm page reaches only 18, so it isn't smaller still. Nothing but the fixture changes.
Memory, commands and surfaces are unaffected: this is a test.
Testing
UI evidence
No visible UI change.
Related issue
None.
Summary by CodeRabbit