Skip to content

Conversation

@pre-commit-ci
Copy link
Contributor

@pre-commit-ci pre-commit-ci bot commented Nov 10, 2025

@codspeed-hq
Copy link

codspeed-hq bot commented Nov 10, 2025

CodSpeed Performance Report

Merging #11757 will not alter performance

Comparing pre-commit-ci-update-config (4ef2ecc) with master (d5bf65f)

Summary

✅ 59 untouched

@pre-commit-ci pre-commit-ci bot force-pushed the pre-commit-ci-update-config branch from b346006 to dbd94ae Compare November 24, 2025 16:26
@codecov
Copy link

codecov bot commented Nov 24, 2025

❌ 1 Tests Failed:

Tests completed Failed Passed Skipped
4288 1 4287 66
View the full list of 1 ❄️ flaky test(s)
tests.test_cookie_helpers::test_cookie_pattern_performance

Flake rate in main: 9.09% (Passed 10 times, Failed 1 times)

Stack Traces | 0.052s run time
#x1B[0m#x1B[94mdef#x1B[39;49;00m#x1B[90m #x1B[39;49;00m#x1B[92mtest_cookie_pattern_performance#x1B[39;49;00m() -> #x1B[94mNone#x1B[39;49;00m:#x1B[90m#x1B[39;49;00m
        value = #x1B[33m"#x1B[39;49;00m#x1B[33ma#x1B[39;49;00m#x1B[33m"#x1B[39;49;00m + #x1B[33m"#x1B[39;49;00m#x1B[33m=#x1B[39;49;00m#x1B[33m"#x1B[39;49;00m * #x1B[94m21651#x1B[39;49;00m + #x1B[33m"#x1B[39;49;00m#x1B[33m\x00#x1B[39;49;00m#x1B[33m"#x1B[39;49;00m#x1B[90m#x1B[39;49;00m
        start = time.perf_counter()#x1B[90m#x1B[39;49;00m
        match = helpers._COOKIE_PATTERN.match(value)#x1B[90m#x1B[39;49;00m
        end = time.perf_counter()#x1B[90m#x1B[39;49;00m
    #x1B[90m#x1B[39;49;00m
        #x1B[90m# If this is taking more than 10ms, there's probably a performance/ReDoS issue.#x1B[39;49;00m#x1B[90m#x1B[39;49;00m
>       #x1B[94massert#x1B[39;49;00m (end - start) < #x1B[94m0.01#x1B[39;49;00m#x1B[90m#x1B[39;49;00m
#x1B[1m#x1B[31mE       assert (400.2755841 - 400.2361049) < 0.01#x1B[0m

end        = 400.2755841
match      = None
start      = 400.2361049
value      = 'a====================================================================================================================...==================================================================================================================\x00'

#x1B[1m#x1B[31mtests\test_cookie_helpers.py#x1B[0m:647: AssertionError

To view more test analytics, go to the Test Analytics Dashboard
📋 Got 3 mins? Take this short survey to help us improve Test Analytics.

updates:
- [github.com/psf/black-pre-commit-mirror: 25.9.0 → 25.12.0](psf/black-pre-commit-mirror@25.9.0...25.12.0)
- [github.com/asottile/pyupgrade: v3.21.0 → v3.21.2](asottile/pyupgrade@v3.21.0...v3.21.2)
@pre-commit-ci pre-commit-ci bot force-pushed the pre-commit-ci-update-config branch from dbd94ae to 3797669 Compare December 8, 2025 16:26
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