Hi Stephane,<div>I think we should definitely profile this. Can you share a bit more details/reproducer?</div><div>In the past we&#39;ve also relied on the internal performance team to get jfr recordings under proper load in a suitable bench environment. </div><div>Cheers <br><br>On Thursday, October 18, 2018, Stephane Epardaud &lt;<a href="mailto:stef@epardaud.fr">stef@epardaud.fr</a>&gt; wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
  

    
  
  <div text="#000000" bgcolor="#FFFFFF">
    <p><font size="-1">Hi,</font></p>
    <p><font size="-1">I was doing some benchmarks with gatling and came
        across very strange results where if I have a REST endpoint with
        normal result types I get 1200 requests per second, but if I
        return those results inside RxJava&#39;s Single (with Single.just())
        I get about 250 requests per second, and if I change that with
        CompletionStage (using CompletableFuture.<wbr>completedFuture()) I
        get about 310 requests per second.</font></p>
    <p><font size="-1">Frankly I&#39;m not sure how to go about finding out
        why we have such a difference, and whether we can mitigate it,
        but we should definitely try. How do you usually tackle these
        problems? Any help?</font></p>
    <p><font size="-1">Thanks, cheers.<br>
      </font></p>
  </div>

</blockquote></div><br><br>-- <br><div dir="ltr"><div>
<p style="font-weight:bold;margin:0;padding:0;font-size:14px;text-transform:uppercase;margin-bottom:0"><span>Alessio</span> <span>Soldano</span></p>
<p style="font-weight:normal;font-size:10px;margin:0px 0px 4px;text-transform:uppercase"><span>Associate Manager</span><span style="font-weight:normal;color:#aaa;margin:0"></span></p>
<p style="font-weight:normal;margin:0;font-size:10px;color:#999"><a style="color:#0088ce;font-size:10px;margin:0;text-decoration:none;font-family:&#39;overpass&#39;,sans-serif" href="https://www.redhat.com" target="_blank">Red Hat <span><br><br></span></a></p>




<table border="0"><tbody><tr><td width="100px"><a href="https://red.ht/sig" target="_blank"> <img src="https://www.redhat.com/files/brand/email/sig-redhat.png" width="90" height="auto"></a> </td>
</tr></tbody></table>

</div></div><br>