mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-10 09:32:06 +00:00
Added performance test
This commit is contained in:
parent
b1c9fc0233
commit
ab8dd7edd6
46
dbms/tests/performance/math.xml
Normal file
46
dbms/tests/performance/math.xml
Normal file
@ -0,0 +1,46 @@
|
||||
<test>
|
||||
<type>once</type>
|
||||
|
||||
<stop_conditions>
|
||||
<any_of>
|
||||
<average_speed_not_changing_for_ms>1000</average_speed_not_changing_for_ms>
|
||||
<total_time_ms>10000</total_time_ms>
|
||||
</any_of>
|
||||
</stop_conditions>
|
||||
|
||||
<main_metric>
|
||||
<max_rows_per_second />
|
||||
</main_metric>
|
||||
|
||||
<substitutions>
|
||||
<substitution>
|
||||
<name>func</name>
|
||||
<values>
|
||||
<value>exp</value>
|
||||
<value>log</value>
|
||||
<value>exp2</value>
|
||||
<value>log2</value>
|
||||
<value>exp10</value>
|
||||
<value>log10</value>
|
||||
<value>sqrt</value>
|
||||
<value>cbrt</value>
|
||||
<value>erf</value>
|
||||
<value>erfc</value>
|
||||
<value>lgamma</value>
|
||||
<value>tgamma</value>
|
||||
<value>sin</value>
|
||||
<value>cos</value>
|
||||
<value>tan</value>
|
||||
<value>asin</value>
|
||||
<value>acos</value>
|
||||
<value>atan</value>
|
||||
<value>sigmoid</value>
|
||||
<value>tanh</value>
|
||||
</values>
|
||||
</substitution>
|
||||
</substitutions>
|
||||
|
||||
<query>SELECT count() FROM system.numbers WHERE NOT ignore({func}(toFloat64(number)))</query>
|
||||
<query>SELECT count() FROM system.numbers WHERE NOT ignore({func}(toFloat32(number)))</query>
|
||||
<query>SELECT count() FROM system.numbers WHERE NOT ignore({func}(number))</query>
|
||||
</test>
|
Loading…
Reference in New Issue
Block a user