Skip to content

perf(tests): Reduce session count in test_batch_query_percent_decimal#108425

Open
mrduncan wants to merge 1 commit intomasterfrom
mrduncan/quick-test-perf
Open

perf(tests): Reduce session count in test_batch_query_percent_decimal#108425
mrduncan wants to merge 1 commit intomasterfrom
mrduncan/quick-test-perf

Conversation

@mrduncan
Copy link
Member

The test creates sessions to verify decimal percentage rounding precision. 600 sessions was far more than needed — 60 still exceeds MIN_SESSIONS_TO_FIRE (50) and produces a decimal result (1.67%) that exercises the same rounding code path. Reduces test runtime from ~32s to ~7s.

… (600→60)

The test creates sessions to verify decimal percentage rounding precision.
600 sessions was far more than needed — 60 still exceeds MIN_SESSIONS_TO_FIRE
(50) and produces a decimal result (1.67%) that exercises the same rounding
code path. Reduces test runtime from ~32s to ~7s.
@mrduncan mrduncan marked this pull request as ready for review February 18, 2026 03:30
@mrduncan mrduncan requested a review from a team as a code owner February 18, 2026 03:30
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.

2 participants