-
Notifications
You must be signed in to change notification settings - Fork 179
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
[Benchnet] Allow configuring view times faster than 1s #6446
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #6446 +/- ##
=======================================
Coverage 41.22% 41.23%
=======================================
Files 2054 2054
Lines 182347 182359 +12
=======================================
+ Hits 75175 75189 +14
+ Misses 100871 100870 -1
+ Partials 6301 6300 -1
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
thanks for the nice usability improvement for benchnet
@@ -85,6 +86,7 @@ func init() { | |||
flag.IntVar(&testExecutionCount, "test-execution", DefaultTestExecutionCount, "number of test execution") | |||
flag.UintVar(&nClusters, "nclusters", DefaultNClusters, "number of collector clusters") | |||
flag.Uint64Var(&numViewsEpoch, "epoch-length", 10000, "number of views in epoch") | |||
flag.Uint64Var(&numViewsPerSecond, "epoch-view-rate", 1, "number of views per second") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I would suggest to call this target-view-rate
because its describes a property of the network across all epochs (in comparison, the other parameters epoch-*
usually specify something for one epoch, like the views within one epoch)
Configure view times faster than the default of 1 per second by adding
--epoch-view-rate N
to the bootstrap tool