Skip to content

Commit 07c1787

Browse files
committed
removed performance tests changes
1 parent 3a04972 commit 07c1787

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

performance/src/test/com/clickhouse/benchmark/BenchmarkRunner.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -32,18 +32,18 @@ public static void main(String[] args) throws Exception {
3232
Options opt = new OptionsBuilder()
3333
.include(QueryClient.class.getSimpleName())
3434
.include(InsertClient.class.getSimpleName())
35-
.include(Components.class.getSimpleName())
35+
// .include(Components.class.getSimpleName())
3636
.forks(1) // must be a fork. No fork only for debugging
3737
.mode(Mode.SampleTime)
3838
.timeUnit(TimeUnit.MILLISECONDS)
3939
.threads(1)
4040
.addProfiler(GCProfiler.class)
4141
.addProfiler(MemPoolProfiler.class)
42-
.warmupIterations(0)
42+
.warmupIterations(3)
4343
.warmupTime(TimeValue.seconds(10))
44-
.measurementIterations(5)
44+
.measurementIterations(10)
4545
.jvmArgs("-Xms8g", "-Xmx8g")
46-
.measurementTime(TimeValue.seconds(30))
46+
.measurementTime(TimeValue.seconds(isCloud() ? 30 : 10))
4747
.resultFormat(ResultFormatType.JSON)
4848
// .output(String.format("jmh-results-%s-%s.out", isCloud() ? "cloud" : "local", System.currentTimeMillis()))
4949
.result(String.format("jmh-results-%s-%s.json", isCloud() ? "cloud" : "local", System.currentTimeMillis()))

performance/src/test/com/clickhouse/benchmark/clients/Components.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ public void close() {
8484
}
8585
};
8686
}
87-
// @Benchmark
87+
@Benchmark
8888
public void SerializerOutputStreamV1(DataState dataState) {
8989
OutputStream empty = createEmptyOutputStream();
9090
try {
@@ -102,7 +102,7 @@ public void SerializerOutputStreamV1(DataState dataState) {
102102
}
103103
}
104104

105-
// @Benchmark
105+
@Benchmark
106106
public void SerializerOutputStreamV2(DataState dataState) {
107107
OutputStream empty = createEmptyOutputStream();
108108
try {

0 commit comments

Comments
 (0)