2018-01-12 01:32:13 +00:00
|
|
|
<test>
|
|
|
|
<tags>
|
|
|
|
<tag>long</tag>
|
|
|
|
</tags>
|
|
|
|
|
|
|
|
<stop_conditions>
|
|
|
|
<all_of>
|
|
|
|
<total_time_ms>10000</total_time_ms>
|
|
|
|
</all_of>
|
|
|
|
<any_of>
|
|
|
|
<total_time_ms>20000</total_time_ms>
|
|
|
|
</any_of>
|
|
|
|
</stop_conditions>
|
|
|
|
|
|
|
|
|
|
|
|
<substitutions>
|
|
|
|
<substitution>
|
2019-07-27 21:17:44 +00:00
|
|
|
<name>expr</name>
|
2018-01-12 01:32:13 +00:00
|
|
|
<values>
|
|
|
|
<value>toString(number)</value>
|
|
|
|
<value>toString(number % 10)</value>
|
|
|
|
</values>
|
|
|
|
</substitution>
|
2020-03-11 11:22:10 +00:00
|
|
|
<substitution>
|
|
|
|
<name>expr_zero</name>
|
|
|
|
<values>
|
|
|
|
<value>toString(1 / rand())</value>
|
|
|
|
<value>toString(rand() / 0xFFFFFFFF)</value>
|
|
|
|
<value>toString(0xFFFFFFFF / rand())</value>
|
|
|
|
<value>toString(rand())</value>
|
|
|
|
<value>toString(rand64())</value>
|
|
|
|
<value>concat(toString(rand(1)), '.', toString(rand(2)))</value>
|
|
|
|
<value>concat(toString(rand(1)), 'e', toString(rand(2) % 100))</value>
|
|
|
|
<value>concat(toString(rand64(1)), toString(rand64(2)), toString(rand64(3)))</value>
|
|
|
|
</values>
|
|
|
|
</substitution>
|
2018-01-12 01:32:13 +00:00
|
|
|
</substitutions>
|
|
|
|
|
2020-02-28 16:56:34 +00:00
|
|
|
<query>SELECT count() FROM numbers(1000000) WHERE NOT ignore(toFloat64({expr}))</query>
|
2020-03-11 11:22:10 +00:00
|
|
|
<query>SELECT count() FROM zeros(1000000) WHERE NOT ignore(toFloat64({expr_zero}))</query>
|
2018-01-12 01:32:13 +00:00
|
|
|
</test>
|