Skip to content

Commit

Permalink
Add to app
Browse files Browse the repository at this point in the history
Signed-off-by: acarbonetto <[email protected]>
  • Loading branch information
acarbonetto committed Oct 10, 2023
1 parent 2799ac1 commit b3a3998
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@
import java.util.Optional;
import java.util.stream.Collectors;
import java.util.stream.Stream;
import javababushka.benchmarks.clients.JedisClient;
import javababushka.benchmarks.clients.JedisPseudoAsyncClient;
import javababushka.benchmarks.clients.LettuceAsyncClient;
import javababushka.benchmarks.clients.LettuceClient;
import org.apache.commons.cli.CommandLine;
Expand Down Expand Up @@ -39,12 +41,10 @@ public static void main(String[] args) {
for (ClientName client : runConfiguration.clients) {
switch (client) {
case JEDIS:
// run testClientSetGet on JEDI sync client
System.out.println("Run JEDI sync client");
testClientSetGet(JedisClient::new, runConfiguration, false);
break;
case JEDIS_ASYNC:
// run testClientSetGet on JEDI pseudo-async client
System.out.println("Run JEDI pseudo-async client");
testClientSetGet(JedisPseudoAsyncClient::new, runConfiguration, true);
break;
case LETTUCE:
testClientSetGet(LettuceClient::new, runConfiguration, false);
Expand Down

0 comments on commit b3a3998

Please sign in to comment.