sundy-li commented on PR #4144:
URL: https://github.com/apache/arrow-rs/pull/4144#issuecomment-1524592016

   I profiled the test case `test_select_1` and found that prepare cause much 
more latency in TcpClient.
   
   ```
    cargo test --release --package arrow-flight --example flight_sql_server 
--all-features --features flight-sql-experimental --features tls -- 
tests::test_select_1 --exact --nocapture 
   
   running 1 test
   testing uds client
   prepare cost: 761.35µs
   execute cost: 671.36µs
   do get cost: 716.169µs
   Client finished!
   =======
   testing tcp client
   prepare cost: 41.503622ms
   execute cost: 1.55827ms
   do get cost: 1.58378ms
   Client finished!
   =======
   testing https client
   prepare cost: 1.39358ms
   execute cost: 1.31692ms
   do get cost: 1.354041ms
   Client finished!
   =======
   test tests::test_select_1 ... ok
   ```


-- 
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]

Reply via email to