forked from solana-labs/solana
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Improve cli args parsing in bench-tps (solana-labs#30307)
* Improve cli args parsing in bench-tps * Rename parse funciton * Get rid of panics, exit and println * Add basic unit tests * add allow dead_code and unused_imports for cli tests * simplify code by using map_err instead of macro * simplify data_size parsing * use tempfile crate to create temp keypair files * fix bug with reading client_id from config by default, re-added client_id tests * minor fix of an error message * add Eq to bench_tps::cli::Congig * some minor error messages corrections
- Loading branch information
1 parent
d376037
commit 81951e6
Showing
4 changed files
with
181 additions
and
66 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.