We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 48f60b6 commit 97de5cfCopy full SHA for 97de5cf
benchmarks/src/test/java/org/elasticsearch/benchmark/vector/JDKVectorInt7uBenchmarkTests.java
@@ -11,7 +11,9 @@
11
12
import com.carrotsearch.randomizedtesting.annotations.ParametersFactory;
13
14
+import org.apache.lucene.util.Constants;
15
import org.elasticsearch.test.ESTestCase;
16
+import org.junit.BeforeClass;
17
import org.openjdk.jmh.annotations.Param;
18
19
import java.util.Arrays;
@@ -25,6 +27,11 @@ public JDKVectorInt7uBenchmarkTests(int size) {
25
27
this.size = size;
26
28
}
29
30
+ @BeforeClass
31
+ public static void skipWindows() {
32
+ assumeFalse("doesn't work on windows yet", Constants.WINDOWS);
33
+ }
34
+
35
public void testDotProduct() {
36
for (int i = 0; i < 100; i++) {
37
var bench = new JDKVectorInt7uBenchmark();
0 commit comments