rsocket / rsocket-cli

Command-line client for ReactiveSocket
Apache License 2.0
71 stars 22 forks source link

Timing of run #71

Closed yschimke closed 5 years ago

yschimke commented 5 years ago
yuri@Darias-MBP ~/w/rsocket-cli> ruby -e 'puts Time.now.to_f'; time build/graal/rsocket-cli -i "I know big words" --debug --stream tcp://localhost:5001
1555526067.499538
start 1555526067733
run 1555526067970
buildClient 1555526068119
load transport 1555526068215
loaded 1555526068292
clientBuilt 1555526068736
run client 1555526068749
runSingleOperation 1555526068749
19:34:28.804    sending ->
Frame => Stream ID: 1 Type: REQUEST_STREAM Flags: 0b100000000 Length: 29
Metadata:

Data:
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 49 20 6b 6e 6f 77 20 62 69 67 20 77 6f 72 64 73 |I know big words|
+--------+-------------------------------------------------+----------------+
19:34:28.841    receiving ->
Frame => Stream ID: 1 Type: NEXT Flags: 0b100100000 Length: 30
Metadata:

Data:
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 2f 75 73 72 2f 73 68 61 72 65 2f 64 69 63 74 2f |/usr/share/dict/|
|00000010| 77 6f 72 64 73                                  |words           |
+--------+-------------------------------------------------+----------------+
stream onn next 1555526068851
19:34:28.851    receiving ->
Frame => Stream ID: 1 Type: COMPLETE Flags: 0b1000000 Length: 6
Data:

/usr/share/dict/words
stop 1555526068985
        1.86 real         2.59 user         0.23 sys
yschimke commented 5 years ago
yuri@Darias-MBP ~/w/rsocket-cli> ruby -e 'puts Time.now.to_f'; time build/graal/rsocket-cli
1555526337.175214
start 1555526337428
Required arguments are missing: 'target'
...
            Endpoint URL

        0.52 real         0.81 user         0.08 sys