ClickHouse/dbms/tests/performance/array_element.xml

24 lines
713 B
XML

<test>
<name>array_element</name>
<type>once</type>
<stop_conditions>
<any_of>
<average_speed_not_changing_for_ms>1000</average_speed_not_changing_for_ms>
<total_time_ms>10000</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([[1], [2]][number % 2 + 2])</query>
<query>SELECT count() FROM system.numbers WHERE NOT ignore([[], [2]][number % 2 + 2])</query>
<query>SELECT count() FROM system.numbers WHERE NOT ignore([[], []][number % 2 + 2])</query>
</test>