This is an automated email from the ASF dual-hosted git repository.
jfeinauer pushed a commit to branch experimental/code-generation
in repository https://gitbox.apache.org/repos/asf/iotdb.git
The following commit(s) were added to refs/heads/experimental/code-generation
by this push:
new 1a0decf Added latest performacne information
1a0decf is described below
commit 1a0decf187d50c4d033bba1ca6f50146582f6ee3
Author: julian <[email protected]>
AuthorDate: Fri Dec 31 23:51:48 2021 +0100
Added latest performacne information
---
.../iotdb/tsfile/write/TsFilterPerformanceTest.java | 21 +++++++++++++++++++++
1 file changed, 21 insertions(+)
diff --git
a/tsfile/src/test/java/org/apache/iotdb/tsfile/write/TsFilterPerformanceTest.java
b/tsfile/src/test/java/org/apache/iotdb/tsfile/write/TsFilterPerformanceTest.java
index 7d210a3..3d835ca 100644
---
a/tsfile/src/test/java/org/apache/iotdb/tsfile/write/TsFilterPerformanceTest.java
+++
b/tsfile/src/test/java/org/apache/iotdb/tsfile/write/TsFilterPerformanceTest.java
@@ -157,6 +157,12 @@ public class TsFilterPerformanceTest {
runTests(filters, true);
}
+ /**
+ * Benchmark Mode Cnt Score
Error Units
+ * TsFilterPerformanceTest.getComplexUnoptimized avgt 15 15053,562 ±
115,997 ms/op
+ * -> 12.3%
+ * @throws IOException
+ */
@Benchmark
@BenchmarkMode(Mode.AverageTime)
@OutputTimeUnit(TimeUnit.MILLISECONDS)
@@ -167,6 +173,21 @@ public class TsFilterPerformanceTest {
runTests(filters, false);
}
+ /**
+ * Benchmark Mode Cnt Score
Error Units
+ * TsFilterPerformanceTest.getComplexOptimized avgt 15 13196,650 ±
477,061 ms/op
+ * @throws IOException
+ */
+ @Benchmark
+ @BenchmarkMode(Mode.AverageTime)
+ @OutputTimeUnit(TimeUnit.MILLISECONDS)
+ @Warmup(iterations = 3)
+ @Fork(3)
+ public void getComplexOptimized() throws IOException {
+ List<Filter> filters = getComplexFilters();
+ runTests(filters, true);
+ }
+
@Test
public void generate() throws IOException, WriteProcessException {
String filename = getFilename();