File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed
performance/src/test/com/clickhouse/benchmark Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff 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 ()))
Original file line number Diff line number Diff 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 {
You can’t perform that action at this time.
0 commit comments