Skip to content

Factorize benchmark result writing#33

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

Factorize benchmark result writing#33
mzl2233 wants to merge 1 commit into
DIRACGrid:masterfrom
mzl2233:fix/factorize-benchmark-25

Conversation

@mzl2233

@mzl2233 mzl2233 commented May 14, 2026

Copy link
Copy Markdown

This factors the repeated benchmark result payload construction into a shared helper and uses it from the synchronous benchmark suites, including the context-manager variants. The benchmark tests still write the same JSON fields as before, while the duplicated result-building blocks now live in one place. Verified with python3 -m compileall benchmark_tests, targeted content assertions for the helper usage, and git diff --check.

Part of #25.

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