add perf test

This commit is contained in:
chertus 2019-08-07 17:41:03 +03:00
parent c76c11d8cd
commit e6a93698cb

View File

@ -0,0 +1,30 @@
<test>
<tags>
<tag>sorting</tag>
<tag>comparison</tag>
</tags>
<type>loop</type>
<stop_conditions>
<all_of>
<iterations>5</iterations>
<min_time_not_changing_for_ms>10000</min_time_not_changing_for_ms>
</all_of>
<any_of>
<iterations>50</iterations>
<total_time_ms>60000</total_time_ms>
</any_of>
</stop_conditions>
<query>SELECT toInt32(number) AS n FROM numbers(1000000) ORDER BY n DESC</query>
<query>SELECT toDecimal32(number, 0) AS n FROM numbers(1000000) ORDER BY n</query>
<query>SELECT toDecimal32(number, 0) AS n FROM numbers(1000000) ORDER BY n DESC</query>
<query>SELECT toDecimal64(number, 8) AS n FROM numbers(1000000) ORDER BY n DESC</query>
<query>SELECT toDecimal128(number, 10) AS n FROM numbers(1000000) ORDER BY n DESC</query>
<main_metric>
<min_time/>
</main_metric>
</test>