ClickHouse/dbms/tests/performance/math.xml

59 lines
1.7 KiB
XML
Raw Normal View History

2019-08-01 00:37:47 +00:00
<test>
2020-01-22 16:56:49 +00:00
2019-08-01 00:37:47 +00:00
<stop_conditions>
2020-01-22 16:56:49 +00:00
<all_of>
<iterations>5</iterations>
<min_time_not_changing_for_ms>10000</min_time_not_changing_for_ms>
</all_of>
2019-08-01 00:37:47 +00:00
<any_of>
2020-01-22 16:56:49 +00:00
<iterations>50</iterations>
<total_time_ms>60000</total_time_ms>
2019-08-01 00:37:47 +00:00
</any_of>
</stop_conditions>
<substitutions>
2020-02-27 19:40:22 +00:00
<substitution>
<name>func_slow</name>
<values>
<value>atan</value>
<value>cbrt</value>
<value>cos</value>
<value>lgamma</value>
<value>tgamma</value>
<value>log10</value>
<value>sin</value>
<value>tan</value>
</values>
</substitution>
2019-08-01 00:37:47 +00:00
<substitution>
<name>func</name>
<values>
<value>exp</value>
<value>log</value>
<value>exp2</value>
<value>log2</value>
<value>exp10</value>
<value>sqrt</value>
<value>erf</value>
<value>erfc</value>
<value>asin</value>
<value>acos</value>
<value>sigmoid</value>
<value>tanh</value>
</values>
</substitution>
2020-02-27 19:40:22 +00:00
<substitution>
<name>arg</name>
<values>
<value>toFloat64(number)</value>
<value>toFloat32(number)</value>
<value>number</value>
</values>
</substitution>
2019-08-01 00:37:47 +00:00
</substitutions>
2020-02-27 19:40:22 +00:00
<query>SELECT count() FROM numbers(100000000) WHERE NOT ignore({func}({arg}))</query>
<query>SELECT count() FROM numbers(10000000) WHERE NOT ignore({func_slow}({arg}))</query>
2019-08-01 00:37:47 +00:00
</test>