allow benchmarking fixture to be used multiple times within a test case #169
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
User description
currently, if we want to benchmark a function which has arguments which can be permuted, such as
we would have to express it as
instead, a more concise way of expressing it is:
and
for more complicated cases
PR Type
Enhancement, Bug fix, Tests
Description
Replace prints with logger for consistent logging
Support multiple benchmark calls in single test
Add call counters and benchmark name suffix
Introduce cleanup logic for temporary artifacts
Changes walkthrough 📝
1 files
Use logger instead of print in tracing2 files
Refactor decorator insertion formattingAdjust pytest invocation argument formatting6 files
Improve pytest plugin logging and fixtureSimplify error logging in benchmark collectionAdd recursive cleanup and console integrationExtend cleanup_paths to remove directoriesLog function count with console rule separatorRefactor optimization cleanup logic1 files
Fix SQL query execution and formatting