Skip to content

Commit de7e115

Browse files
msyycCopilot
andauthored
Update scripts/breaking_changes_checker/tests/test_performance.py
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent 925e083 commit de7e115

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

scripts/breaking_changes_checker/tests/test_performance.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -207,7 +207,9 @@ def test_full_checker_run_large_unchanged_api(self):
207207
"""Benchmark a full checker run with a large unchanged API surface.
208208
209209
When stable and current are identical, jsondiff produces an empty diff,
210-
so the checker should complete almost instantly regardless of API surface size.
210+
so diff-based checks do minimal work. However, run_checks() still executes
211+
checks like parameter ordering across the full API surface. This test
212+
ensures the overall run remains fast and bounded even for a large, unchanged API.
211213
"""
212214
stable, current = _generate_large_stable_current(
213215
num_modules=10,

0 commit comments

Comments
 (0)