guohao commented on code in PR #479:
URL: https://github.com/apache/dubbo-samples/pull/479#discussion_r919677967


##########
dubbo-samples-triple/src/main/java/org/apache/dubbo/sample/tri/stub/GreeterImpl.java:
##########
@@ -216,10 +216,18 @@ public void onCompleted() {
     @Override
     public void greetServerStream(GreeterRequest request,
                                   StreamObserver<GreeterReply> replyStream) {
+        long last = System.currentTimeMillis();
         for (int i = 0; i < 10; i++) {
+            System.out.println(System.currentTimeMillis() - last);

Review Comment:
   ```java
   long st=System.currentTimeMillis();
   onNext
   long cost=System.currentTimeMillis()-st
   sout



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to