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.
PR Checklist
Description
Benchmarking always takes amount of time. In order to focus on the targets and reduce the time consumption of our benchmarking tool, the
--enable
and--disable
options are used to specify the parts to be included and the parts to be excluded respectively.For specification,
Enabled Parts
andDisabled Parts
have the same format, which is a single string that simulates an array, with each element separated by a comma.The granularity of the element of
Enabled Parts
andDisabled Parts
is currently at the file-level, which means now our tool will recognize the name of each file inbenchmark/benchmark
before benchmarking and each element inEnabled Parts
andDisable Parts
should be exactly the name of those files.--enable
is used to specify the files that should be included, and by default (--enable
not specified) all files in thebenchmark/benchmark
are included.--disable
is used to specify the files that should be excluded, and the default value is an empty string.e.g.