mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-10 09:32:06 +00:00
Added performance test [#CLICKHOUSE-2].
This commit is contained in:
parent
5ddc354989
commit
d70f59e9bb
26
dbms/tests/performance/gather/if_array_string.xml
Normal file
26
dbms/tests/performance/gather/if_array_string.xml
Normal file
@ -0,0 +1,26 @@
|
|||||||
|
<test>
|
||||||
|
<name>if_array_string</name>
|
||||||
|
<type>once</type>
|
||||||
|
|
||||||
|
<stop_conditions>
|
||||||
|
<any_of>
|
||||||
|
<average_speed_not_changing_for_ms>10000</average_speed_not_changing_for_ms>
|
||||||
|
<total_time_ms>1000</total_time_ms>
|
||||||
|
</any_of>
|
||||||
|
</stop_conditions>
|
||||||
|
|
||||||
|
<metrics>
|
||||||
|
<max_rows_per_second />
|
||||||
|
</metrics>
|
||||||
|
|
||||||
|
<main_metric>
|
||||||
|
<max_rows_per_second />
|
||||||
|
</main_metric>
|
||||||
|
|
||||||
|
<query>SELECT count() FROM system.numbers WHERE NOT ignore(rand() % 2 ? ['Hello', 'World'] : ['a', 'b', 'c'])</query>
|
||||||
|
<query>SELECT count() FROM system.numbers WHERE NOT ignore(rand() % 2 ? materialize(['Hello', 'World']) : ['a', 'b', 'c'])</query>
|
||||||
|
<query>SELECT count() FROM system.numbers WHERE NOT ignore(rand() % 2 ? ['Hello', 'World'] : materialize(['a', 'b', 'c']))</query>
|
||||||
|
<query>SELECT count() FROM system.numbers WHERE NOT ignore(rand() % 2 ? materialize(['Hello', 'World']) : materialize(['a', 'b', 'c']))</query>
|
||||||
|
<query>SELECT count() FROM system.numbers WHERE NOT ignore(rand() % 2 ? materialize(['', '']) : emptyArrayString())</query>
|
||||||
|
<query>SELECT count() FROM system.numbers WHERE NOT ignore(rand() % 2 ? materialize(['https://github.com/yandex/ClickHouse/pull/1070', 'https://www.google.ru/search?newwindow=1&site=&source=hp&q=zookeeper+wire+protocol+exists&oq=zookeeper+wire+protocol+exists&gs_l=psy-ab.3...330.6300.0.6687.33.28.0.0.0.0.386.4838.0j5j9j5.19.0....0...1.1.64.psy-ab..14.17.4448.0..0j35i39k1j0i131k1j0i22i30k1j0i19k1j33i21k1.r_3uFoNOrSU']) : emptyArrayString())</query>
|
||||||
|
</test>
|
Loading…
Reference in New Issue
Block a user