Skip to content

Factorize benchmark result path setup#34

Open
mzl2233 wants to merge 1 commit into
DIRACGrid:masterfrom
mzl2233:fix/factorize-benchmark
Open

Factorize benchmark result path setup#34
mzl2233 wants to merge 1 commit into
DIRACGrid:masterfrom
mzl2233:fix/factorize-benchmark

Conversation

@mzl2233

@mzl2233 mzl2233 commented May 14, 2026

Copy link
Copy Markdown

This factors the repeated benchmark result-directory setup into a shared helper, so the sync and async benchmark files no longer each repeat the same Python-version path construction before writing JSON results. The benchmark result filenames and directory layout stay the same, while the benchmark tests now call the helper consistently.

Closes #25

Verification:

  • python3 -m ruff check benchmark_tests/conftest.py benchmark_tests/test_benchmark.py benchmark_tests/test_benchmark_aio.py
  • python3 -m compileall -q benchmark_tests
  • git diff --check

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.

Factorize benchmark function

1 participant