8000 gh-108303: Move `Lib/test/sortperf.py` to `Tools/scripts` by sobolevn · Pull Request #114687 · python/cpython · GitHub
[go: up one dir, main page]

Skip to content

gh-108303: Move Lib/test/sortperf.py to Tools/scripts #114687

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 8 commits into from
Feb 18, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Fix CI
  • Loading branch information
sobolevn committed Feb 10, 2024
commit 052ec3034106b15aa8cbc9e9a91dea62a615fe78
6 changes: 3 additions & 3 deletions Tools/scripts/sortperf.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,6 @@
import time
import random

# This needs `pyperf` 3rd party library:
import pyperf


# ===============
# Data generation
Expand Down Expand Up @@ -182,6 +179,9 @@ def add_parser_args(parser: argparse.ArgumentParser) -> None:
}

if __name__ == "__main__":
# This needs `pyperf` 3rd party library:
import pyperf

runner = pyperf.Runner(add_cmdline_args=add_cmdline_args)
add_parser_args(runner.argparser)
args = runner.parse_args()
Expand Down
0