Skip to content

Swap benchmark names for argparse benchmarks#470

Open
savannahostrowski wants to merge 1 commit intopython:mainfrom
savannahostrowski:argparse-names
Open

Swap benchmark names for argparse benchmarks#470
savannahostrowski wants to merge 1 commit 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 ❤️

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.

1 participant