-
Notifications
You must be signed in to change notification settings - Fork 11.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[refactoring][wallet cli] - Wallet command refactoring (#1882)
* make `WalletCommand::execute` `self` instead of `&mut self` and removed unneeded cloning * remove unnecessary Arc RWLock
- Loading branch information
1 parent
ca9984c
commit 50da6e9
Showing
3 changed files
with
51 additions
and
96 deletions.
There are no files selected for viewing
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
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
50da6e9
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.
Bench results
�[0m�[1m�[33mwarning�[0m�[0m�[1m: unused import:
collections::HashSet
�[0m�[0m �[0m�[0m�[1m�[38;5;12m--> �[0m�[0msui_core/src/full_node/full_node_state.rs:6:5�[0m
�[0m �[0m�[0m�[1m�[38;5;12m|�[0m
�[0m�[1m�[38;5;12m6�[0m�[0m �[0m�[0m�[1m�[38;5;12m| �[0m�[0m collections::HashSet,�[0m
�[0m �[0m�[0m�[1m�[38;5;12m| �[0m�[0m �[0m�[0m�[1m�[33m^^^^^^^^^^^^^^^^^^^^�[0m
�[0m �[0m�[0m�[1m�[38;5;12m= �[0m�[0m�[1mnote�[0m�[0m:
#[warn(unused_imports)]
on by default�[0m�[0m�[0m�[1m�[33mwarning�[0m�[1m:�[0m
sui_core
(lib) generated 1 warning�[0m�[0m�[1m�[32m Finished�[0m release [optimized] target(s) in 0.40s
�[0m�[0m�[1m�[32m Running�[0m
target/release/bench microbench throughput
�[2m2022-05-19T08:58:20.412690Z�[0m �[32m INFO�[0m �[2msui::benchmark�[0m�[2m:�[0m benchmark �[3mbenchmark�[0m�[2m=�[0mBenchmark { committee_size: 1, send_timeout_us: 400000000, recv_timeout_us: 400000000, buffer_size: 65000, tcp_connections: 0, db_cpus: 1, use_native: false, batch_size: 2000, running_mode: SingleValidatorThread, working_dir: None, bench_type: MicroBenchmark { host: "127.0.0.1", port: 9555, type_: Throughput { num_transactions: 100000 } } }
�[2m2022-05-19T08:58:20.413572Z�[0m �[32m INFO�[0m �[2msui_config�[0m�[2m:�[0m Creating accounts and gas objects...
�[2m2022-05-19T08:58:20.413736Z�[0m �[32m INFO�[0m �[2msui_config::genesis�[0m�[2m:�[0m Loading Move framework lib from "/home/ubuntu/actions-runner/_work/sui/sui/sui_programmability/framework/deps/move-stdlib"
�[2m2022-05-19T08:58:20.438446Z�[0m �[32m INFO�[0m �[2msui_config::genesis�[0m�[2m:�[0m Loading Sui framework lib from "/home/ubuntu/actions-runner/_work/sui/sui/sui_programmability/framework"
�[2m2022-05-19T08:58:20.517569Z�[0m �[32m INFO�[0m �[2msui::benchmark::validator_preparer�[0m�[2m:�[0m authority address hex: 0x471238bef1505969d85e487cdaefef5ca8d28d7f
�[2m2022-05-19T08:58:20.517673Z�[0m �[32m INFO�[0m �[2msui::benchmark::validator_preparer�[0m�[2m:�[0m Open database on path: "/tmp/DB_0xaa26c5c032eab208f6b9f0d1fa78e066e96b1ed8"
�[2m2022-05-19T08:58:20.811124Z�[0m �[32m INFO�[0m �[2msui_storage::lock_service�[0m�[2m:�[0m LockService command processing loop started
�[2m2022-05-19T08:58:20.811138Z�[0m �[32m INFO�[0m �[2msui_storage::lock_service�[0m�[2m:�[0m LockService queries processing loop started
�[2m2022-05-19T08:58:21.493053Z�[0m �[32m INFO�[0m �[2msui::benchmark::validator_preparer�[0m�[2m:�[0m Spawning a validator thread...
�[2m2022-05-19T08:58:21.494412Z�[0m �[32m INFO�[0m �[2msui_core::authority_server�[0m�[2m:�[0m Listening to traffic on /dns/127.0.0.1/tcp/9555/http
Throughout: 32886.63418124942 tps