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

measure performance: fix increase default maximum limit of multistream. #38

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

jamesiwan
Copy link
Contributor

Signed-off-by: James Iwan james.iwan@intel.com

@@ -137,7 +137,7 @@ def main():
################################# Variable Assignment #################################################
starting_streamnumber = str(ARGS.startStreams) if ARGS.startStreams else "all:1"
maximum_iteration = int(ARGS.numbers_of_iteration) if ARGS.numbers_of_iteration else 1
endStreams = int(ARGS.endStreams) if ARGS.endStreams else 99
endStreams = int(ARGS.endStreams) if ARGS.endStreams else 999999
Copy link
Contributor

Choose a reason for hiding this comment

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

I think you are setting the default in a wrong place (and for other options as well!). Instead you need to do that during option declarations. I.e.:

parser.add_argument('-e', '--endStreams', default=999999, help='To set ending number of multi stream performance measurement')

<...>

endStreams                      = ARGS.endStreams

Could you, please, rework options declarations in general taking above into account?

Signed-off-by: James Iwan <james.iwan@intel.com>
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.

2 participants