Skip to content

Refresh the benchmark tables - #1560

Merged
asvetlov merged 1 commit into
aio-libs:masterfrom
asvetlov:claude/refresh-benchmark-tables
Sep 24, 2026
Merged

asvetlov merged 1 commit into
aio-libs:masterfrom
asvetlov:claude/refresh-benchmark-tables

Conversation

@asvetlov

Copy link
Copy Markdown
Member

What do these changes do?

The published numbers had gone stale for the operations the object-shell
pools made cheaper. AGENTS.md asks for the tables to be refreshed in the
same PR as the change that moves them; #1542 landed without it, so this
catches them up. Collected again on the environment the tables record.

Rows that moved by more than 2%, GIL build:

row MultiDict CIMultiDict
cls() -24.7% -20.7%
d.copy(), 20 items -9.4% -7.7%
cls(items), 20 items -4.5% -3.1%
d.setdefault(key, v), new key -3.7% -2.2%
d[key] = v, existing key -3.1% -
d[key] = v, new key -2.7% -

The first three are the multidict and proxy shell pools from #1542; the
setdefault() and d[key] = v rows are #1553 keeping the implicit
default in the module state. No dict row moved, which is the control.

Are there changes in behavior for the user?

No. Documentation only; the measurements themselves are unchanged code.

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

No.

Related issue number

Follows up #1542.

Checklist

  • I think the code is well written
  • Unit tests for the changes exist — N/A, documentation only
  • Documentation reflects the changes
  • If you provide code modification, please add yourself to CONTRIBUTORS.txt — N/A, already listed
  • Add a new news fragment into the CHANGES/ folder
  • make doc-spelling passes and any new technical words are added to docs/spelling_wordlist.txt
Agent run details (optional, for reviewers)

Collected with benchmarks/callgrind_driver.py on CPython 3.14.7 and
3.14.7t, PYTHONHASHSEED=0, client-request bracketing, one virtualenv
per build. The GIL virtualenv needs pytest-codspeed installed, or the
driver counts the whole process and render_tables.py refuses the
result rather than publishing numbers that undercount every destructive
operation.

Drafted with Claude Opus 5; reviewed by @asvetlov.

@asvetlov
asvetlov force-pushed the claude/refresh-benchmark-tables branch from fd35ce2 to bfdb9e1 Compare September 24, 2026 09:21
@asvetlov
asvetlov marked this pull request as ready for review September 24, 2026 09:26
@asvetlov
asvetlov requested a review from webknjaz as a code owner September 24, 2026 09:26
@greptile-apps

greptile-apps Bot commented Sep 24, 2026 •

Copy link
Copy Markdown
Contributor

RetriggerConfidence Score: 5/5

No outstanding findings block merging.

Reviews (3) · Last reviewed commit: "Refresh the benchmark tables"

Comment thread docs/benchmark.rst Resolved
@greptile-apps

This comment has been minimized.

@codspeed

codspeed Bot commented Sep 24, 2026

Copy link
Copy Markdown

Merging this PR will not alter performance

✅ 310 untouched benchmarks


Comparing asvetlov:claude/refresh-benchmark-tables (bfdb9e1) with master (f28b2c0)

Open in CodSpeed

@asvetlov asvetlov closed this Sep 24, 2026
@asvetlov asvetlov reopened this Sep 24, 2026
@pyba-chronographer pyba-chronographer Bot added the bot:chronographer:provided There is a change note present in this PR label Sep 24, 2026
@asvetlov
asvetlov marked this pull request as draft September 24, 2026 09:57
@asvetlov
asvetlov removed the request for review from webknjaz September 24, 2026 09:58
@asvetlov
asvetlov marked this pull request as ready for review September 24, 2026 10:03
@asvetlov
asvetlov merged commit 7b84e1b into aio-libs:master Sep 24, 2026
113 checks passed
@asvetlov
asvetlov deleted the claude/refresh-benchmark-tables branch September 24, 2026 10:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bot:chronographer:provided There is a change note present in this PR

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant