<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
</head>
<body 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's Single (with Single.just())
I get about 250 requests per second, and if I change that with
CompletionStage (using CompletableFuture.completedFuture()) I
get about 310 requests per second.</font></p>
<p><font size="-1">Frankly I'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>
</body>
</html>