masaori335 opened a new issue #8003:
URL: https://github.com/apache/trafficserver/issues/8003


   Here are some numbers from the measurement of the overhead of `dynamic_cast` 
on the inbound side of HTTP/1.1 on TCP.
   
   ## Profile on Instruments
   Instuments says `0.7%` on `__dynamic_cast` and it's the second heaviest call 
of `Htt1ClientSession::new_transaction()` ( on the master branch (c6d3f6fac) )
   <img width="884" alt="Screen Shot 2021-06-28 at 9 52 58" 
src="https://user-images.githubusercontent.com/741391/123646651-5f2b4d00-d862-11eb-98d0-00e37004db05.png";>
   
   ## rec/sec
   items|master| PoC | diff
   -- | -- | -- | --
   avg | 41379.7169 | 42578.5729 | 1.029
   90%tile | 44459.874 | 45816.123 | 1.031
   min | 34569.55 | 35596.56 | 1.030
   max | 46382.62 | 47461.07 | 1.023
   
   - master: c6d3f6fac
   - PoC: #8002 (e9a837a29fccde93ad63b785771ef12945e15a63)
   - CPU: Intel(R) Xeon(R) CPU E5-2660 v3 @ 2.60GHz, 40 core
   - 1KB response body
   - 100% cache hit
   - no Keep-Alive
   - ATS: default thread settings
   - Client:
   ```
   for x in {1..100}; do h2load --h1 -n 100000 -m 1 -c 10 
http://127.0.0.1:8080/static/1kb >> master.log; done
   ```
   
   


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