Skip to content

Swap benchmark names for argparse benchmarks#470

Open
savannahostrowski wants to merge 2 commits intopython:mainfrom
savannahostrowski:argparse-names
Open

Swap benchmark names for argparse benchmarks#470
savannahostrowski wants to merge 2 commits intopython:mainfrom
savannahostrowski:argparse-names

Conversation

@savannahostrowski
Copy link
Copy Markdown
Member

@savannahostrowski savannahostrowski commented May 1, 2026

So, I really don't know how this happened but apparently when I added the argparse benchmarks in #367, I flipped the function names.

The BENCHMARKS dict mapped "many_optionals" → bm_many_optionals and "subparsers" → bm_subparsers, so the public benchmark IDs (argparse_many_optionals, argparse_subparsers) ran the opposite workload from what their names imply.

This PR correctly renames them but obviously, this means that in the next version of pyperformance, results will be quite different. If folks have ideas on how to better handle the discontinuity, please let me know. Apologies for the churn here!

Kudos to @chris-eibl for pointing this out ❤️

Copy link
Copy Markdown
Member

@StanFromIreland StanFromIreland left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

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