-
Notifications
You must be signed in to change notification settings - Fork 11.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #106 from MystenLabs/selectively-benchmark-differe…
…nt-code-paths Added options to benchmark orders vs certs
- Loading branch information
Showing
2 changed files
with
32 additions
and
6 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
0c802fc
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 variable:
num_immutable_objects
�[0m�[0m �[0m�[0m�[1m�[38;5;12m--> �[0m�[0mfastx_programmability/adapter/src/adapter.rs:377:13�[0m
�[0m �[0m�[0m�[1m�[38;5;12m|�[0m
�[0m�[1m�[38;5;12m377�[0m�[0m �[0m�[0m�[1m�[38;5;12m| �[0m�[0m let mut num_immutable_objects = 0;�[0m
�[0m �[0m�[0m�[1m�[38;5;12m| �[0m�[0m �[0m�[0m�[1m�[33m^^^^^^^^^^^^^^^^^^^^^�[0m�[0m �[0m�[0m�[1m�[33mhelp: if this is intentional, prefix it with an underscore:
_num_immutable_objects
�[0m�[0m �[0m�[0m�[1m�[38;5;12m= �[0m�[0m�[1mnote�[0m�[0m:
#[warn(unused_variables)]
on by default�[0m�[0m�[0m�[1m�[33mwarning�[0m�[1m:�[0m
fastx-adapter
(lib) generated 1 warning�[0m�[0m�[1m�[32m Finished�[0m release [optimized + debuginfo] target(s) in 2.13s
�[0m�[0m�[1m�[32m Running�[0m
target/release/bench
[2021-12-30T22:20:27Z INFO bench] Starting benchmark: OrdersAndCerts
[2021-12-30T22:20:27Z INFO bench] Preparing accounts.
[2021-12-30T22:20:29Z INFO bench] Preparing transactions.
[2021-12-30T22:20:37Z INFO fastpay::network] Listening to Tcp traffic on 127.0.0.1:9555
[2021-12-30T22:20:38Z INFO bench] Set max_in_flight to 500
[2021-12-30T22:20:38Z INFO bench] Sending requests.
[2021-12-30T22:20:38Z INFO fastpay::network] Sending Tcp requests to 127.0.0.1:9555
[2021-12-30T22:20:39Z INFO fastpay::network] 127.0.0.1:9555 has processed 5000 packets
[2021-12-30T22:20:40Z INFO fastpay::network] In flight 500 Remaining 35000
[2021-12-30T22:20:40Z INFO fastpay::network] 127.0.0.1:9555 has processed 10000 packets
[2021-12-30T22:20:41Z INFO fastpay::network] 127.0.0.1:9555 has processed 15000 packets
[2021-12-30T22:20:42Z INFO fastpay::network] In flight 500 Remaining 30000
[2021-12-30T22:20:42Z INFO fastpay::network] 127.0.0.1:9555 has processed 20000 packets
[2021-12-30T22:20:43Z INFO fastpay::network] In flight 500 Remaining 30000
[2021-12-30T22:20:43Z INFO fastpay::network] 127.0.0.1:9555 has processed 25000 packets
[2021-12-30T22:20:44Z INFO fastpay::network] In flight 500 Remaining 25000
[2021-12-30T22:20:44Z INFO fastpay::network] 127.0.0.1:9555 has processed 30000 packets
[2021-12-30T22:20:45Z INFO fastpay::network] In flight 500 Remaining 25000
[2021-12-30T22:20:45Z INFO fastpay::network] 127.0.0.1:9555 has processed 35000 packets
[2021-12-30T22:20:46Z INFO fastpay::network] In flight 500 Remaining 20000
[2021-12-30T22:20:46Z INFO fastpay::network] 127.0.0.1:9555 has processed 40000 packets
[2021-12-30T22:20:47Z INFO fastpay::network] In flight 500 Remaining 20000
[2021-12-30T22:20:47Z INFO fastpay::network] 127.0.0.1:9555 has processed 45000 packets
[2021-12-30T22:20:48Z INFO fastpay::network] In flight 500 Remaining 15000
[2021-12-30T22:20:48Z INFO fastpay::network] 127.0.0.1:9555 has processed 50000 packets
[2021-12-30T22:20:49Z INFO fastpay::network] In flight 500 Remaining 15000
[2021-12-30T22:20:49Z INFO fastpay::network] 127.0.0.1:9555 has processed 55000 packets
[2021-12-30T22:20:50Z INFO fastpay::network] In flight 500 Remaining 10000
[2021-12-30T22:20:50Z INFO fastpay::network] 127.0.0.1:9555 has processed 60000 packets
[2021-12-30T22:20:51Z INFO fastpay::network] 127.0.0.1:9555 has processed 65000 packets
[2021-12-30T22:20:51Z INFO fastpay::network] In flight 500 Remaining 5000
[2021-12-30T22:20:51Z INFO fastpay::network] 127.0.0.1:9555 has processed 70000 packets
[2021-12-30T22:20:52Z INFO fastpay::network] In flight 500 Remaining 5000
[2021-12-30T22:20:52Z INFO fastpay::network] 127.0.0.1:9555 has processed 75000 packets
[2021-12-30T22:20:52Z INFO fastpay::network] Done sending Tcp requests to 127.0.0.1:9555
[2021-12-30T22:20:53Z INFO fastpay::network] 127.0.0.1:9555 has processed 80000 packets
[2021-12-30T22:20:53Z INFO fastpay::network] Done sending Tcp requests to 127.0.0.1:9555
[2021-12-30T22:20:53Z INFO bench] Received 80000 responses.
[2021-12-30T22:20:53Z WARN bench] Completed benchmark for OrdersAndCerts
Total time: 14627155us, items: 40000, tx/sec: 2734.6397847018097