Skip to content

[pull] master from scrapinghub:master - #102

Merged
pull[bot] merged 1 commit into
zanachka:masterfrom
scrapinghub:master
Aug 13, 2026
Merged

[pull] master from scrapinghub:master#102
pull[bot] merged 1 commit into
zanachka:masterfrom
scrapinghub:master

Conversation

@pull

@pull pull Bot commented Aug 13, 2026

Copy link
Copy Markdown

See Commits and Changes for more details.


Created by pull[bot] (v2.0.0-alpha.4)

Can you help keep this open source service alive? 💖 Please sponsor : )

Add CodSpeed benchmarks and a GitHub Actions workflow that runs them, so a
performance regression like the one fixed in #1335 is reported on the pull
request that introduces it instead of being noticed as a hang.

The benchmarks cover the paths #1335 touched: PATTERN.findall()/sub() in
freshness_date_parser, the relative-split regex Dictionary builds from the
locale's relative-type-regex entries, and dateparser.parse() end to end.
Each long-digit-run benchmark is sized so that a reintroduced regression is
a ~500x jump that still finishes and reports rather than timing out.

The benchmarks live in a dedicated tox environment and are skipped when
pytest-codspeed is not installed, leaving the regular test runs unchanged.

Closes #1336

Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com>
@pull pull Bot locked and limited conversation to collaborators Aug 13, 2026
@pull pull Bot added the ⤵️ pull label Aug 13, 2026
@pull
pull Bot merged commit de7b986 into zanachka:master Aug 13, 2026
@pull pull Bot added the ⤵️ pull label Aug 13, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant