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

Update --columns help (missing ops) #115

Merged
merged 1 commit into from
Aug 17, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
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
2 changes: 1 addition & 1 deletion docs/usage.rst
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ Commandline options
--benchmark-columns=LABELS
Comma-separated list of columns to show in the result
table. Default: 'min, max, mean, stddev, median, iqr,
outliers, rounds, iterations'
outliers, ops, rounds, iterations'
--benchmark-name=FORMAT
How to format names in results. Can be one of 'short',
'normal', 'long'. Default: 'normal'
Expand Down
2 changes: 1 addition & 1 deletion src/pytest_benchmark/plugin.py
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ def add_display_options(addoption, prefix="benchmark-"):
metavar="LABELS", type=parse_columns,
default=["min", "max", "mean", "stddev", "median", "iqr", "outliers", "ops", "rounds", "iterations"],
help="Comma-separated list of columns to show in the result table. Default: "
"'min, max, mean, stddev, median, iqr, outliers, rounds, iterations'"
"'min, max, mean, stddev, median, iqr, outliers, ops, rounds, iterations'"
)
addoption(
"--{0}name".format(prefix),
Expand Down
2 changes: 1 addition & 1 deletion tests/test_benchmark.py
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ def test_help(testdir):
" --benchmark-columns=LABELS",
" Comma-separated list of columns to show in the result",
" table. Default: 'min, max, mean, stddev, median, iqr,",
" outliers, rounds, iterations'",
" outliers, ops, rounds, iterations'",
" --benchmark-histogram=[FILENAME-PREFIX]",
" Plot graphs of min/max/avg/stddev over time in",
" FILENAME-PREFIX-test_name.svg. If FILENAME-PREFIX",
Expand Down
2 changes: 1 addition & 1 deletion tests/test_cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ def test_help_compare(testdir, args):
" @pytest.parametrize. Default: 'group'",
" --columns LABELS Comma-separated list of columns to show in the result",
" table. Default: 'min, max, mean, stddev, median, iqr,",
" outliers, rounds, iterations'",
" outliers, ops, rounds, iterations'",
" --name FORMAT How to format names in results. Can be one of 'short',",
" 'normal', 'long'. Default: 'normal'",
" --histogram [FILENAME-PREFIX]",
Expand Down