From b0a8a81b49270263ea358fe542f34ac49502f86a Mon Sep 17 00:00:00 2001 From: Marcin Grzejszczak Date: Thu, 23 Jul 2020 12:38:52 +0200 Subject: [PATCH] Added 2 more benchmarks --- .../jmh/webflux/MicroBenchmarkHttpTests.java | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/benchmarks/src/test/java/org/springframework/cloud/sleuth/benchmarks/jmh/webflux/MicroBenchmarkHttpTests.java b/benchmarks/src/test/java/org/springframework/cloud/sleuth/benchmarks/jmh/webflux/MicroBenchmarkHttpTests.java index 00f39e8c1..b972b56df 100644 --- a/benchmarks/src/test/java/org/springframework/cloud/sleuth/benchmarks/jmh/webflux/MicroBenchmarkHttpTests.java +++ b/benchmarks/src/test/java/org/springframework/cloud/sleuth/benchmarks/jmh/webflux/MicroBenchmarkHttpTests.java @@ -106,11 +106,16 @@ public class MicroBenchmarkHttpTests { noSleuthSimple("spring.sleuth.enabled", "false", "/simple"), sleuthSimpleManual( "spring.sleuth.reactor.instrumentation-type", "MANUAL", - "/simple"), noSleuthComplex("spring.sleuth.enabled", "false", "/complexNoSleuth"), onEachComplex( - "spring.sleuth.reactor.instrumentation-type", "DECORATE_ON_EACH", - "/complex"), onLastComplex("spring.sleuth.reactor.instrumentation-type", "DECORATE_ON_LAST", - "/complex"), onManualComplex("spring.sleuth.reactor.instrumentation-type", "MANUAL", - "/complexManual"); + "/simple"), sleuthSimpleOnEach("spring.sleuth.reactor.instrumentation-type", "DECORATE_ON_EACH", + "/simple"), sleuthSimpleOnLast("spring.sleuth.reactor.instrumentation-type", + "DECORATE_ON_LAST", "/simple"), noSleuthComplex("spring.sleuth.enabled", "false", + "/complexNoSleuth"), onEachComplex( + "spring.sleuth.reactor.instrumentation-type", "DECORATE_ON_EACH", + "/complex"), onLastComplex( + "spring.sleuth.reactor.instrumentation-type", + "DECORATE_ON_LAST", "/complex"), onManualComplex( + "spring.sleuth.reactor.instrumentation-type", + "MANUAL", "/complexManual"); private String key;