<p dir="ltr">Good that the bottle neck is clearly identified. </p>
<p dir="ltr">On a related topic, we're starting to benchmark our web services, and we're using <a href="http://gatling.io">http://gatling.io</a> as benchmarking tool. It is Scala based and I'd like to write the benchmarking program in Haskell instead. However I need a tool that can record the duration of each requests, and maybe aggregate them and export this to some format (I don't care about the plots right now). </p>
<p dir="ltr">I don't know of wrecker has this capabilities or maybe there are other tools that the Haskell community use for this purpose. Any hints? </p>
<div class="gmail_extra"><br><div class="gmail_quote">Op 7 okt. 2016 16:09 schreef "Jonathan Fischoff" <<a href="mailto:jonathangfischoff@gmail.com">jonathangfischoff@gmail.com</a>>:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>hvr's comment on reddit sums up the issues well: <a href="https://www.reddit.com/r/haskell/comments/55ywoy/ann_wrecker_an_http_benchmarking_library/d8f0svb" target="_blank">https://www.reddit.com/<wbr>r/haskell/comments/55ywoy/ann_<wbr>wrecker_an_http_benchmarking_<wbr>library/d8f0svb</a><br></div><div><br></div><div>`http-client` is not designed for this use case. It's header parsing is too slow specifically. </div><div><br></div><div>`wrecker` and `wreck` are fine in the 10-100 range for typical requests (30 - 300 ms) <br></div><div><br></div><div>`wrecker` can and will get better (possibly with uhttpc under the hood), but if you have to sequence API together with processing between to profile your API, `wrecker` is a great option because there is nothing as accurate (that I know of) that can do that well.</div><div><br></div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Oct 7, 2016 at 6:56 AM, Damian Nadales <span dir="ltr"><<a href="mailto:damian.nadales@gmail.com" target="_blank">damian.nadales@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">We're using Gatling at work <a href="http://gatling.io/docs/2.2.2/" rel="noreferrer" target="_blank">http://gatling.io/docs/2.2.2/</a> (Scala<br>
based), and I'm looking for similar tools in Haskell (if they don't<br>
exist is a nice project to work on I find).<br>
<br>
Do you have any idea why `wreck` produces inflated results?<br>
<div><div class="m_-1906899453046950176h5"><br>
On Wed, Oct 5, 2016 at 12:59 PM, Jonathan Fischoff<br>
<<a href="mailto:jonathangfischoff@gmail.com" target="_blank">jonathangfischoff@gmail.com</a>> wrote:<br>
> I am happy to announce the release of 'wrecker-0.1.3.2', a library for HTTP<br>
> benchmarks.<br>
><br>
> 'wrecker' makes it easy to benchmark complex API interactions, by providing<br>
> a 'wreq' like interface for creating suites of HTTP benchmarks.<br>
><br>
> For more detailed information, tutorials, and examples checkout the<br>
> README.md<br>
><br>
> <a href="https://github.com/skedgeme/wrecker/blob/master/README.md" rel="noreferrer" target="_blank">https://github.com/skedgeme/wr<wbr>ecker/blob/master/README.md</a><br>
><br>
> Additionally there is documentation on Hackage:<br>
> <a href="https://hackage.haskell.org/package/wrecker" rel="noreferrer" target="_blank">https://hackage.haskell.org/pa<wbr>ckage/wrecker</a>.<br>
><br>
> Cheers,<br>
> Jonathan Fischoff<br>
><br>
</div></div>> ______________________________<wbr>_________________<br>
> Haskell-Cafe mailing list<br>
> To (un)subscribe, modify options or view archives go to:<br>
> <a href="http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe" rel="noreferrer" target="_blank">http://mail.haskell.org/cgi-bi<wbr>n/mailman/listinfo/haskell-caf<wbr>e</a><br>
> Only members subscribed via the mailman list are allowed to post.<br>
</blockquote></div><br></div>
</blockquote></div></div>