Repository navigation
Remove classification performance test - #106732
Merged
Algunenano merged 1 commit intoJun 8, 2026
Merged
Conversation
The classification perf test (detectLanguage, detectLanguageMixed, detectTonality, detectLanguageUnknown, detectCharset) has been a persistent source of CI noise (one of the top noisy tests in ClickHouse#100759), and several attempts to stabilize it did not hold up. The root cause is not the test queries themselves: the detect* NLP functions are memory-bound (they build a per-phrase language model with ~1M heap allocations), which amplifies the persistent per-process placement asymmetry between the two perf-comparison servers. On the same machine, with identical binary and identical data, one server runs the heavy queries ~4.5x slower than the other (4x CPU, 7x system time, same SelectedRows/SelectedBytes), while the light queries on the same servers stay balanced. No test-level change removes that, only reduces the amplification. These NLP functions are rarely used, so a dedicated perf guard is not worth the recurring noise it generates. Remove the test.
Contributor
|
Workflow [PR], commit [410035b] Summary: ✅
AI ReviewSummaryThis PR removes Final VerdictStatus: ✅ Approve |
3 of 11 tasks
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.
The
classificationperf test (detectLanguage,detectLanguageMixed,detectTonality,detectLanguageUnknown,detectCharset) has been a persistent source of CI noise — one of the top entries in #100759 — and several attempts to stabilize it (deterministic sampling, materialized subset) did not hold up.The root cause isn't the queries: the
detect*NLP functions are memory-bound (they build a per-phrase language model, ~1M heap allocations), which amplifies the persistent per-process placement asymmetry between the two perf-comparison servers. On the same machine, identical binary, identical data, one server runs the heavy queries ~4.5x slower than the other (4x CPU, 7x system time, identicalSelectedRows/SelectedBytes), while light queries on the same servers stay balanced. No test-level change removes that, only reduces the amplification.These NLP functions are rarely used, so a dedicated perf guard isn't worth the recurring noise. Remove the test.
Related: #100759
Changelog category (leave one):
Version info
26.6.1.519