mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-25 17:12:03 +00:00
Change endless performance tests (6)
This commit is contained in:
parent
35dc08ccda
commit
55a08a2784
@ -1,14 +1,13 @@
|
||||
<test>
|
||||
<type>once</type>
|
||||
<type>loop</type>
|
||||
|
||||
<stop_conditions>
|
||||
<any_of>
|
||||
<average_speed_not_changing_for_ms>5000</average_speed_not_changing_for_ms>
|
||||
<total_time_ms>10000</total_time_ms>
|
||||
</any_of>
|
||||
</stop_conditions>
|
||||
|
||||
|
||||
<query>SELECT count() FROM (SELECT range(number % 100) FROM system.numbers limit 10000000)</query>
|
||||
<query>SELECT count() FROM (SELECT range(0, number % 100, 1) FROM system.numbers limit 10000000)</query>
|
||||
<query>SELECT range(number % 100) FROM numbers(10000000) FORMAT Null</query>
|
||||
<query>SELECT range(0, number % 100, 1) FROM numbers(10000000) FORMAT Null</query>
|
||||
</test>
|
||||
|
@ -1,20 +1,20 @@
|
||||
<test>
|
||||
<type>loop</type>
|
||||
|
||||
<stop_conditions>
|
||||
<any_of>
|
||||
<average_speed_not_changing_for_ms>5000</average_speed_not_changing_for_ms>
|
||||
<total_time_ms>30000</total_time_ms>
|
||||
</any_of>
|
||||
</stop_conditions>
|
||||
<type>once</type>
|
||||
|
||||
<preconditions>
|
||||
<table_exists>hits_1000m_single</table_exists>
|
||||
<table_exists>hits_100m_single</table_exists>
|
||||
</preconditions>
|
||||
|
||||
<query>SELECT count() FROM hits_1000m_single where UserID=1234567890 SETTINGS max_threads = 1, min_bytes_to_use_direct_io = 1, max_read_buffer_size = 10485760;</query>
|
||||
<query>SELECT count() FROM hits_100m_single where UserID=1234567890 SETTINGS max_threads = 1, min_bytes_to_use_direct_io = 1, max_read_buffer_size = 10485760;</query>
|
||||
<query>SELECT count() FROM hits_1000m_single where EventDate between toDate('2013-07-10') and toDate('2013-07-16') and UserID=123 SETTINGS max_threads = 1, min_bytes_to_use_direct_io = 1, max_read_buffer_size = 10485760;</query>
|
||||
|
||||
<query>SELECT count() FROM hits_1000m_single where UserID=1234567890 SETTINGS max_threads = 1, min_bytes_to_use_direct_io = 0, max_read_buffer_size = 10485760;</query>
|
||||
<query>SELECT count() FROM hits_1000m_single where EventDate between toDate('2013-07-10') and toDate('2013-07-16') and UserID=123 SETTINGS max_threads = 1, min_bytes_to_use_direct_io = 0, max_read_buffer_size = 10485760;</query>
|
||||
<query>SELECT count() FROM hits_100m_single where UserID=1234567890 SETTINGS max_threads = 1, min_bytes_to_use_direct_io = 0, max_read_buffer_size = 10485760;</query>
|
||||
<query>SELECT count() FROM hits_100m_single where EventDate between toDate('2013-07-10') and toDate('2013-07-16') and UserID=123 SETTINGS max_threads = 1, min_bytes_to_use_direct_io = 0, max_read_buffer_size = 10485760;</query>
|
||||
|
||||
</test>
|
||||
|
@ -10,7 +10,6 @@
|
||||
<total_time_ms>10000</total_time_ms>
|
||||
</all_of>
|
||||
<any_of>
|
||||
<average_speed_not_changing_for_ms>5000</average_speed_not_changing_for_ms>
|
||||
<total_time_ms>20000</total_time_ms>
|
||||
</any_of>
|
||||
</stop_conditions>
|
||||
|
@ -1,20 +1,19 @@
|
||||
<test>
|
||||
<type>once</type>
|
||||
<type>loop</type>
|
||||
|
||||
<stop_conditions>
|
||||
<all_of>
|
||||
<total_time_ms>10000</total_time_ms>
|
||||
</all_of>
|
||||
<any_of>
|
||||
<average_speed_not_changing_for_ms>5000</average_speed_not_changing_for_ms>
|
||||
<total_time_ms>20000</total_time_ms>
|
||||
</any_of>
|
||||
</stop_conditions>
|
||||
|
||||
|
||||
<query>SELECT count() FROM system.numbers WHERE NOT ignore(roundDuration(rand() % 65536))</query>
|
||||
<query>SELECT count() FROM system.numbers WHERE NOT ignore(roundDown(rand() % 65536, [0, 1, 10, 30, 60, 120, 180, 240, 300, 600, 1200, 1800, 3600, 7200, 18000, 36000]))</query>
|
||||
<query>SELECT count() FROM system.numbers WHERE NOT ignore(roundAge(rand() % 100))</query>
|
||||
<query>SELECT count() FROM system.numbers WHERE NOT ignore(roundDown(rand() % 100, [0, 1, 18, 25, 35, 45, 55]))</query>
|
||||
<query>SELECT count() FROM system.numbers WHERE NOT ignore(roundDown(rand() % 65536, (SELECT groupArray(number) FROM numbers(65536))))</query>
|
||||
<query>SELECT count() FROM numbers(1000000) WHERE NOT ignore(roundDuration(rand() % 65536))</query>
|
||||
<query>SELECT count() FROM numbers(1000000) WHERE NOT ignore(roundDown(rand() % 65536, [0, 1, 10, 30, 60, 120, 180, 240, 300, 600, 1200, 1800, 3600, 7200, 18000, 36000]))</query>
|
||||
<query>SELECT count() FROM numbers(1000000) WHERE NOT ignore(roundAge(rand() % 100))</query>
|
||||
<query>SELECT count() FROM numbers(1000000) WHERE NOT ignore(roundDown(rand() % 100, [0, 1, 18, 25, 35, 45, 55]))</query>
|
||||
<query>SELECT count() FROM numbers(1000000) WHERE NOT ignore(roundDown(rand() % 65536, (SELECT groupArray(number) FROM numbers(65536))))</query>
|
||||
</test>
|
||||
|
@ -1,32 +1,31 @@
|
||||
<test>
|
||||
<type>once</type>
|
||||
<type>loop</type>
|
||||
|
||||
<stop_conditions>
|
||||
<all_of>
|
||||
<total_time_ms>10000</total_time_ms>
|
||||
</all_of>
|
||||
<any_of>
|
||||
<average_speed_not_changing_for_ms>5000</average_speed_not_changing_for_ms>
|
||||
<total_time_ms>20000</total_time_ms>
|
||||
</any_of>
|
||||
</stop_conditions>
|
||||
|
||||
|
||||
<query>SELECT count() FROM system.numbers WHERE NOT ignore(round(toInt64(number), -2))</query>
|
||||
<query>SELECT count() FROM system.numbers WHERE NOT ignore(roundBankers(toInt64(number), -2))</query>
|
||||
<query>SELECT count() FROM system.numbers WHERE NOT ignore(floor(toInt64(number), -2))</query>
|
||||
<query>SELECT count() FROM system.numbers WHERE NOT ignore(ceil(toInt64(number), -2))</query>
|
||||
<query>SELECT count() FROM system.numbers WHERE NOT ignore(trunc(toInt64(number), -2))</query>
|
||||
<query>SELECT count() FROM numbers(1000000) WHERE NOT ignore(round(toInt64(number), -2))</query>
|
||||
<query>SELECT count() FROM numbers(1000000) WHERE NOT ignore(roundBankers(toInt64(number), -2))</query>
|
||||
<query>SELECT count() FROM numbers(1000000) WHERE NOT ignore(floor(toInt64(number), -2))</query>
|
||||
<query>SELECT count() FROM numbers(1000000) WHERE NOT ignore(ceil(toInt64(number), -2))</query>
|
||||
<query>SELECT count() FROM numbers(1000000) WHERE NOT ignore(trunc(toInt64(number), -2))</query>
|
||||
|
||||
<query>SELECT count() FROM system.numbers WHERE NOT ignore(round(toFloat64(number), -2))</query>
|
||||
<query>SELECT count() FROM system.numbers WHERE NOT ignore(roundBankers(toFloat64(number), -2))</query>
|
||||
<query>SELECT count() FROM system.numbers WHERE NOT ignore(floor(toFloat64(number), -2))</query>
|
||||
<query>SELECT count() FROM system.numbers WHERE NOT ignore(ceil(toFloat64(number), -2))</query>
|
||||
<query>SELECT count() FROM system.numbers WHERE NOT ignore(trunc(toFloat64(number), -2))</query>
|
||||
<query>SELECT count() FROM numbers(1000000) WHERE NOT ignore(round(toFloat64(number), -2))</query>
|
||||
<query>SELECT count() FROM numbers(1000000) WHERE NOT ignore(roundBankers(toFloat64(number), -2))</query>
|
||||
<query>SELECT count() FROM numbers(1000000) WHERE NOT ignore(floor(toFloat64(number), -2))</query>
|
||||
<query>SELECT count() FROM numbers(1000000) WHERE NOT ignore(ceil(toFloat64(number), -2))</query>
|
||||
<query>SELECT count() FROM numbers(1000000) WHERE NOT ignore(trunc(toFloat64(number), -2))</query>
|
||||
|
||||
<query>SELECT count() FROM system.numbers WHERE NOT ignore(round(toDecimal128(number, 0), -2))</query>
|
||||
<query>SELECT count() FROM system.numbers WHERE NOT ignore(roundBankers(toDecimal128(number, 0), -2))</query>
|
||||
<query>SELECT count() FROM system.numbers WHERE NOT ignore(floor(toDecimal128(number, 0), -2))</query>
|
||||
<query>SELECT count() FROM system.numbers WHERE NOT ignore(ceil(toDecimal128(number, 0), -2))</query>
|
||||
<query>SELECT count() FROM system.numbers WHERE NOT ignore(trunc(toDecimal128(number, 0), -2))</query>
|
||||
<query>SELECT count() FROM numbers(1000000) WHERE NOT ignore(round(toDecimal128(number, 0), -2))</query>
|
||||
<query>SELECT count() FROM numbers(1000000) WHERE NOT ignore(roundBankers(toDecimal128(number, 0), -2))</query>
|
||||
<query>SELECT count() FROM numbers(1000000) WHERE NOT ignore(floor(toDecimal128(number, 0), -2))</query>
|
||||
<query>SELECT count() FROM numbers(1000000) WHERE NOT ignore(ceil(toDecimal128(number, 0), -2))</query>
|
||||
<query>SELECT count() FROM numbers(1000000) WHERE NOT ignore(trunc(toDecimal128(number, 0), -2))</query>
|
||||
</test>
|
||||
|
@ -1,5 +1,5 @@
|
||||
<test>
|
||||
<type>once</type>
|
||||
<type>loop</type>
|
||||
<tags>
|
||||
<tag>long</tag>
|
||||
</tags>
|
||||
@ -9,7 +9,6 @@
|
||||
<total_time_ms>10000</total_time_ms>
|
||||
</all_of>
|
||||
<any_of>
|
||||
<average_speed_not_changing_for_ms>5000</average_speed_not_changing_for_ms>
|
||||
<total_time_ms>20000</total_time_ms>
|
||||
</any_of>
|
||||
</stop_conditions>
|
||||
@ -19,8 +18,8 @@
|
||||
<substitution>
|
||||
<name>table</name>
|
||||
<values>
|
||||
<value>system.numbers</value>
|
||||
<value>system.numbers_mt</value>
|
||||
<value>numbers(1000000)</value>
|
||||
<value>numbers_mt(10000000)</value>
|
||||
</values>
|
||||
</substitution>
|
||||
<substitution>
|
||||
|
@ -6,7 +6,6 @@
|
||||
<total_time_ms>30000</total_time_ms>
|
||||
</all_of>
|
||||
<any_of>
|
||||
<average_speed_not_changing_for_ms>6000</average_speed_not_changing_for_ms>
|
||||
<total_time_ms>60000</total_time_ms>
|
||||
</any_of>
|
||||
</stop_conditions>
|
||||
|
Loading…
Reference in New Issue
Block a user