-
Notifications
You must be signed in to change notification settings - Fork 177
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
base: master
Are you sure you want to change the base?
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #6446 +/- ##
==========================================
+ Coverage 40.97% 41.43% +0.45%
==========================================
Files 1429 2021 +592
Lines 101098 143942 +42844
==========================================
+ Hits 41429 59637 +18208
- Misses 55419 78139 +22720
- Partials 4250 6166 +1916
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