Skip to content
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

Add time unit for compare #281

Open
wants to merge 6 commits into
base: master
Choose a base branch
from

Conversation

tony92151
Copy link
Contributor

@tony92151 tony92151 commented Mar 2, 2025

description

As required in #277, add unit for benchmark comparison

what I changed

In previous PR #257, I add --benchmark-time-unit in pytest_addoption, which is not considered comprehensive. I think it would be clearer (for displaying purpose) to put it in add_display_options, which can be used for both benchmarking and comparison.

  • move arg time-unit to add_display_options
  • add unit test test_compare_with_unit_scale

@tony92151 tony92151 marked this pull request as ready for review March 2, 2025 05:56
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