Add performance test

This commit is contained in:
Alexey Milovidov 2021-05-21 09:29:56 +03:00
parent 5e725510e7
commit 28c0e85dab
2 changed files with 30 additions and 4 deletions

View File

@ -0,0 +1,29 @@
<test>
<preconditions>
<table_exists>hits_100m_single</table_exists>
</preconditions>
<substitutions>
<substitution>
<name>key</name>
<values>
<value>SearchEngineID</value>
<value>RegionID</value>
<value>SearchPhrase</value>
<value>ClientIP</value>
</values>
</substitution>
<substitution>
<name>func</name>
<values>
<value>quantile</value>
<value>quantileExact</value>
<value>quantileTDigest</value>
<value>quantileTiming</value>
<value>quantileBFloat16</value>
</values>
</substitution>
</substitutions>
<query>SELECT {key} AS k, {func}(ResolutionWidth) FROM hits_100m_single GROUP BY k FORMAT Null</query>
</test>

View File

@ -1,12 +1,9 @@
<test>
<preconditions>
<table_exists>hits_100m_single</table_exists>
<ram_size>30000000000</ram_size>
</preconditions>
<settings>
<max_memory_usage>30000000000</max_memory_usage>
<!--
@ -36,7 +33,7 @@
<value>SearchPhrase</value>
<value>ClientIP</value>
</values>
</substitution>
</substitution>
<substitution>
<name>func</name>
<values>