2020-01-06 03:28:19 +00:00
|
|
|
<test>
|
|
|
|
<type>once</type>
|
|
|
|
<tags>
|
|
|
|
<tag>long</tag>
|
|
|
|
</tags>
|
|
|
|
|
|
|
|
<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>
|
|
|
|
<avg_rows_per_second/>
|
|
|
|
</main_metric>
|
|
|
|
|
|
|
|
<substitutions>
|
|
|
|
<substitution>
|
|
|
|
<name>expr</name>
|
|
|
|
<values>
|
|
|
|
<value>1 / rand()</value>
|
|
|
|
<value>rand() / 0xFFFFFFFF</value>
|
|
|
|
<value>0xFFFFFFFF / rand()</value>
|
|
|
|
<value>toFloat64(number)</value>
|
|
|
|
<value>toFloat64(number % 10)</value>
|
|
|
|
<value>toFloat64(rand())</value>
|
|
|
|
<value>toFloat64(rand64())</value>
|
|
|
|
<value>toFloat32(number)</value>
|
|
|
|
<value>toFloat32(number % 10)</value>
|
|
|
|
<value>toFloat32(rand())</value>
|
|
|
|
<value>toFloat32(rand64())</value>
|
2020-01-06 11:04:08 +00:00
|
|
|
<value>reinterpretAsFloat32(reinterpretAsString(rand()))</value>
|
|
|
|
<value>reinterpretAsFloat64(reinterpretAsString(rand64()))</value>
|
2020-01-06 03:28:19 +00:00
|
|
|
</values>
|
|
|
|
</substitution>
|
|
|
|
</substitutions>
|
|
|
|
|
|
|
|
<query>SELECT count() FROM system.numbers WHERE NOT ignore(toString({expr}))</query>
|
|
|
|
</test>
|