This is an automated email from the ASF dual-hosted git repository.
gian pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/druid.git
The following commit(s) were added to refs/heads/master by this push:
new 1e857c5 Ignore druid-processing benchmarks in tests (#9821)
1e857c5 is described below
commit 1e857c530300d2de16d8b62fea73031dffed88dc
Author: Suneet Saldanha <[email protected]>
AuthorDate: Wed May 6 08:59:48 2020 -0700
Ignore druid-processing benchmarks in tests (#9821)
---
.../java/org/apache/druid/collections/bitmap/BitmapBenchmark.java | 3 +++
.../apache/druid/collections/bitmap/RangeBitmapBenchmarkTest.java | 3 +++
.../apache/druid/collections/bitmap/UniformBitmapBenchmarkTest.java | 5 ++++-
3 files changed, 10 insertions(+), 1 deletion(-)
diff --git
a/processing/src/test/java/org/apache/druid/collections/bitmap/BitmapBenchmark.java
b/processing/src/test/java/org/apache/druid/collections/bitmap/BitmapBenchmark.java
index f1fe760..4352707 100644
---
a/processing/src/test/java/org/apache/druid/collections/bitmap/BitmapBenchmark.java
+++
b/processing/src/test/java/org/apache/druid/collections/bitmap/BitmapBenchmark.java
@@ -25,6 +25,7 @@ import com.carrotsearch.junitbenchmarks.Clock;
import org.apache.druid.common.config.NullHandling;
import org.apache.druid.extendedset.intset.ImmutableConciseSet;
import org.junit.Assert;
+import org.junit.Ignore;
import org.junit.Rule;
import org.junit.Test;
import org.junit.rules.TestRule;
@@ -42,8 +43,10 @@ import java.util.Random;
/**
* TODO rewrite this benchmark to JMH
+ * If you want to run locally, remove @Ignore on the class.
*/
@BenchmarkOptions(clock = Clock.NANO_TIME, benchmarkRounds = 50)
+@Ignore
public class BitmapBenchmark
{
public static final int LENGTH = 500_000;
diff --git
a/processing/src/test/java/org/apache/druid/collections/bitmap/RangeBitmapBenchmarkTest.java
b/processing/src/test/java/org/apache/druid/collections/bitmap/RangeBitmapBenchmarkTest.java
index 67e9493..950f22b 100644
---
a/processing/src/test/java/org/apache/druid/collections/bitmap/RangeBitmapBenchmarkTest.java
+++
b/processing/src/test/java/org/apache/druid/collections/bitmap/RangeBitmapBenchmarkTest.java
@@ -26,6 +26,7 @@ import org.apache.druid.extendedset.intset.ConciseSet;
import org.apache.druid.extendedset.intset.ImmutableConciseSet;
import org.apache.druid.java.util.common.StringUtils;
import org.junit.BeforeClass;
+import org.junit.Ignore;
import org.junit.experimental.categories.Category;
import org.roaringbitmap.buffer.MutableRoaringBitmap;
@@ -33,9 +34,11 @@ import java.util.BitSet;
/**
* TODO rewrite this benchmark to JMH
+ * If you want to run locally, remove @Ignore on the class.
*/
@Category({Benchmark.class})
@BenchmarkHistoryChart(labelWith = LabelType.CUSTOM_KEY, maxRuns = 20)
+@Ignore
public class RangeBitmapBenchmarkTest extends BitmapBenchmark
{
diff --git
a/processing/src/test/java/org/apache/druid/collections/bitmap/UniformBitmapBenchmarkTest.java
b/processing/src/test/java/org/apache/druid/collections/bitmap/UniformBitmapBenchmarkTest.java
index 9f3eeef..4811622 100644
---
a/processing/src/test/java/org/apache/druid/collections/bitmap/UniformBitmapBenchmarkTest.java
+++
b/processing/src/test/java/org/apache/druid/collections/bitmap/UniformBitmapBenchmarkTest.java
@@ -26,16 +26,19 @@ import org.apache.druid.extendedset.intset.ConciseSet;
import org.apache.druid.extendedset.intset.ImmutableConciseSet;
import org.apache.druid.java.util.common.StringUtils;
import org.junit.BeforeClass;
+import org.junit.Ignore;
import org.junit.experimental.categories.Category;
import org.roaringbitmap.buffer.MutableRoaringBitmap;
import java.util.BitSet;
/**
- * TODO rewrite this benchmark to JMH
+ * TODO rewrite this benchmark to JMH.
+ * If you want to run locally, remove @Ignore on the class.
*/
@Category({Benchmark.class})
@BenchmarkHistoryChart(labelWith = LabelType.CUSTOM_KEY, maxRuns = 20)
+@Ignore
public class UniformBitmapBenchmarkTest extends BitmapBenchmark
{
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]