• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

aio-libs / multidict / 35633331248
87%

Build:
DEFAULT BRANCH: master
Ran 21 Sep 2026 05:39PM UTC
Jobs 1
Files 39
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

21 Sep 2026 05:38PM UTC coverage: 87.63% (+0.07%) from 87.557%
35633331248

push

github

web-flow
Add benchmarks for getall on a large table, update with duplicates, merge, to_dict and items containment (#1506)

<!-- Thank you for your contribution! -->

## What do these changes do?

Adds CodSpeed benchmarks for code paths that currently have no coverage:
`getall()` on a large table with repeated keys, `update()` with
duplicate keys (both `MultiDict` with `str` and `CIMultiDict` with
`istr`), `merge()`, `to_dict()` on a multidict with duplicates, and
`(key, value) in md.items()` where the matching entry sits behind
earlier entries with the same key. These give an upcoming C extension
change to hash marking a real before/after comparison. All new
benchmarks run against both backends through the existing fixtures.

## Are there changes in behavior for the user?

No.

## Is it a substantial burden for the maintainers to support this?

No; the new benchmarks follow the existing style in the same files.

## Related issue number

N/A

## Checklist

- [x] I think the code is well written
- [x] Unit tests for the changes exist
- [ ] Documentation reflects the changes (N/A)
- [ ] If you provide code modification, please add yourself to
`CONTRIBUTORS.txt` (N/A)
- [x] Add a new news fragment into the `CHANGES/` folder
- [x] `make doc-spelling` passes and any new technical words are added
to `docs/spelling_wordlist.txt`

Drafted with Claude Code (Claude Opus 5); reviewed by @asvetlov.

<details>
<summary>Agent run details (optional, for reviewers)</summary>

Isolated CPython 3.13.2 venv, C extension built with `pip install -e .`.

C build: `pytest tests/test_multidict_benchmarks.py
tests/test_views_benchmarks.py -q`: 291 passed (both `c` and `py`
params).
Pure Python: `MULTIDICT_NO_EXTENSIONS=1 pip install -e .
--force-reinstall --no-deps`, then the same files with
`--no-c-extensions`: 147 passed.
`pre-commit run` on the changed files: passed (ruff-format reflowed one
call).
`make doc-spelling`: passed.
</details>

762 of 1524 branches covered (50.0%)

Branch coverage included in aggregate %.

49 of 49 new or added lines in 2 files covered. (100.0%)

6563 of 6835 relevant lines covered (96.02%)

1.92 hits per line

Jobs
ID Job ID Ran Files Coverage
1 MyPy - 35633331248.1 21 Sep 2026 05:39PM UTC 78
87.62
GitHub Action Run
Source Files on build 35633331248
  • Tree
  • List 39
  • Changed 5
  • Source Changed 2
  • Coverage Changed 5
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #35633331248
  • 83c0642d on github
  • Prev Build on master (#35623154736)
  • Next Build on master (#35635177744)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc