From b3a39988f42c43da2a28cfcd155cf6261f218ad9 Mon Sep 17 00:00:00 2001 From: acarbonetto Date: Tue, 10 Oct 2023 10:00:29 -0700 Subject: [PATCH] Add to app Signed-off-by: acarbonetto --- .../java/javababushka/benchmarks/BenchmarkingApp.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/java/benchmarks/src/main/java/javababushka/benchmarks/BenchmarkingApp.java b/java/benchmarks/src/main/java/javababushka/benchmarks/BenchmarkingApp.java index 6bc2aede9f..ed94f1b3db 100644 --- a/java/benchmarks/src/main/java/javababushka/benchmarks/BenchmarkingApp.java +++ b/java/benchmarks/src/main/java/javababushka/benchmarks/BenchmarkingApp.java @@ -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; @@ -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);