ClickHouse/tests/performance/math.xml
Alexander Kuzmenkov b45ac02e7e adjust thresholds
2021-05-20 17:24:05 +03:00

46 lines
1.4 KiB
XML

<test max_ignored_relative_change="0.6">
<substitutions>
<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>
<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>
<substitution>
<name>arg</name>
<values>
<value>toFloat64(number)</value>
<value>toFloat32(number)</value>
<value>number</value>
</values>
</substitution>
</substitutions>
<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>
</test>