mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-10 01:25:21 +00:00
Added performance test
This commit is contained in:
parent
fc3d773c18
commit
a17503c2d1
41
dbms/tests/performance/entropy/entropy.xml
Normal file
41
dbms/tests/performance/entropy/entropy.xml
Normal file
@ -0,0 +1,41 @@
|
||||
<test>
|
||||
<name>entropy</name>
|
||||
<type>loop</type>
|
||||
|
||||
<preconditions>
|
||||
<table_exists>test.hits</table_exists>
|
||||
</preconditions>
|
||||
|
||||
<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>
|
||||
|
||||
<main_metric>
|
||||
<min_time/>
|
||||
</main_metric>
|
||||
|
||||
<substitutions>
|
||||
<substitution>
|
||||
<name>args</name>
|
||||
<values>
|
||||
<value>SearchEngineID</value>
|
||||
<value>SearchPhrase</value>
|
||||
<value>MobilePhoneModel</value>
|
||||
<value>URL</value>
|
||||
<value>URLDomain</value>
|
||||
<value>URL, URLDomain</value>
|
||||
<value>ClientIP</value>
|
||||
<value>RegionID</value>
|
||||
<value>ClientIP, RegionID</value>
|
||||
</values>
|
||||
</substitution>
|
||||
</substitutions>
|
||||
|
||||
<query>SELECT entropy({args}) FROM test.hits</query>
|
||||
</test>
|
Loading…
Reference in New Issue
Block a user