Skip to content

Deflake the generate-phase performance test (floor timing denominator at 100ms)#1073

Merged
PavelMakarchuk merged 1 commit into
mainfrom
fix-flaky-generate-perf-test
Jul 7, 2026
Merged

Deflake the generate-phase performance test (floor timing denominator at 100ms)#1073
PavelMakarchuk merged 1 commit into
mainfrom
fix-flaky-generate-perf-test

Conversation

@PavelMakarchuk

Copy link
Copy Markdown
Collaborator

`test_generate_does_not_scale_linearly` flaked twice this week on unrelated PRs (#1070: 5.3x on windows-3.10; #1072: 5.9x on macos-3.10) — in both cases the absolute times were tiny (e.g. 0.03s → 0.20s), where scheduler noise dominates the ratio. Floor the denominator at 100ms so sub-noise bases can't fail the 5x assertion; a genuinely pathological regression (row-loop/quadratic) still trips it because the 500-record time grows into whole seconds.

🤖 Generated with Claude Code

test_generate_does_not_scale_linearly flaked twice this week (5.3x on
windows-3.10, 5.9x on macos-3.10) with both absolute times under a quarter
second, where scheduler noise dominates the ratio. Floor the denominator at
100ms; a real pathological regression still trips the assertion.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@vercel

vercel Bot commented Jul 7, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
policyengine-taxsim Ready Ready Preview, Comment Jul 7, 2026 3:32am

Request Review

@PavelMakarchuk PavelMakarchuk merged commit 08d14a3 into main Jul 7, 2026
12 checks passed
@PavelMakarchuk PavelMakarchuk deleted the fix-flaky-generate-perf-test branch July 7, 2026 03:44
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