Skip to content

perf: show benchmark library help in addition to tclap when --help is specfied - #20085

Merged
adisuissa merged 1 commit into
envoyproxy:mainfrom
jmarantz:benchmark-show-help
Feb 23, 2022
Merged

adisuissa merged 1 commit into
envoyproxy:mainfrom
jmarantz:benchmark-show-help

Conversation

@jmarantz

@jmarantz jmarantz commented Feb 23, 2022 •

Copy link
Copy Markdown
Contributor

Commit Message: currently running a benchmark binary with --help just shows the help for the TCLAP options: --runtime_feature, --skip_expensive_benchmark, and --version, but doesn't tell you about any of the google benchmark library options, such as filtering for which tests to run, or adding a repeat-count with statistical analysis.

This change emits the benchmark help after the tclap help when the user specifies --help.
Additional Description:
Risk Level: low
Testing: just ran a perf test with --help and without
Docs Changes: n/a
Release Notes: n/a
Platform Specific Features: n/a
Fixes: #15076

@adisuissa adisuissa left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM.
/assign @envoyproxy/senior-maintainers

@adisuissa

adisuissa commented Feb 23, 2022 •

Copy link
Copy Markdown
Contributor

/assign-from @envoyproxy/senior-maintainers

This is minor change to tests, so to reduce churn, I'll just merge it directly.

@repokitteh-read-only

Copy link
Copy Markdown

@envoyproxy/senior-maintainers assignee is @mattklein123

🐱

Caused by: a #20085 (comment) was created by @adisuissa.

see: more, trace.

@adisuissa
adisuissa merged commit dc7f728 into envoyproxy:main Feb 23, 2022
@jmarantz
jmarantz deleted the benchmark-show-help branch February 24, 2022 01:32
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.

benchmark: expose google benchmark's intrinsic command-line options

3 participants