mirror of
https://github.com/Matysh/houseplan-card
synced 2026-10-01 12:18:51 +00:00
perf: разбить вычитание лестниц по кадрам (#663)
Issue: #663 User-Visible: no
This commit is contained in:
@@ -96,6 +96,18 @@ const MUTANT_DEFINITIONS = [
|
||||
replace: ' return source; // mutant: footprints no longer affect clean area\n',
|
||||
}],
|
||||
},
|
||||
{
|
||||
id: 'stairs-summary-area-clips-all-footprints-in-one-task',
|
||||
guard: 'npx tsc -p tsconfig.test.json && node scripts/fix-test-build.mjs '
|
||||
+ '&& node --test test/stairs.test.mjs',
|
||||
because: '#663 AC13: the maximum 250 stair footprints must be clipped in bounded slices; '
|
||||
+ 'one polyclip sweep blocks the summary panel main thread on slower clients.',
|
||||
patches: [{
|
||||
file: 'src/stairs.ts',
|
||||
find: ' batchSize = 24,\n',
|
||||
replace: ' batchSize = MAX_STAIRS_PER_SPACE, // mutant: one long main-thread clip\n',
|
||||
}],
|
||||
},
|
||||
{
|
||||
id: 'stairs-view-pan-opens-target-floor',
|
||||
guard: 'node demo/smoke_stairs.mjs',
|
||||
|
||||
Reference in New Issue
Block a user