Open tleish opened 9 months ago
Thanks, I'll take a look. I don't think we expect to see a significant difference, so there may be a performance regression. The sample code is useful.
FYI, if you right-click and download the SVG from github to your local machine, you can then open the interactive flamgraph in your browser to see better details.
In testing moving a Goliath/EventMachine app to Falcon/Async, we found that request using
async-http
was a bit slower. In profilingasync-http
, I noticed 89% of the time was taken inAsync::Reactor#run_once
. It's not clear to me if this is just waiting for the HTTP response or if something else is going on. If waiting for response, the response from httpbin.org averages 62ms, where Async::Reactor#run_once takes approximately 260ms.ruby 2.7 async-http 0.60.2 async 1.31.0