mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-24 08:32:02 +00:00
36538ce08f
New query: ``` WITH ceil(max(q[3]), 1) AS h SELECT concat('sed -i s\'/^<test.*$/<test max_ignored_relative_change="', toString(h), '">/g\' tests/performance/', test, '.xml') AS s FROM ( SELECT test, query_index, count(*), min(event_time), max(event_time) AS t, arrayMap(x -> floor(x, 3), quantiles(0, 0.5, 0.95, 1)(stat_threshold)) AS q, median(stat_threshold) AS m FROM perftest.query_metrics WHERE (metric = 'client_time') AND (abs(diff) < 0.05) AND (old > 0.2) GROUP BY test, query_index, query_display_name HAVING (t > '2020-09-01 00:00:00') AND (m > 0.1) ORDER BY test DESC ) GROUP BY test ORDER BY h DESC FORMAT PrettySpace ```
53 lines
2.7 KiB
XML
53 lines
2.7 KiB
XML
<test max_ignored_relative_change="0.3">
|
|
<substitutions>
|
|
<substitution>
|
|
<name>gp_hash_func</name>
|
|
<values>
|
|
<value>cityHash64</value>
|
|
<value>farmHash64</value>
|
|
<value>metroHash64</value>
|
|
<value>murmurHash2_32</value>
|
|
<value>murmurHash2_64</value>
|
|
<value>murmurHash3_32</value>
|
|
<value>murmurHash3_64</value>
|
|
<value>murmurHash3_128</value>
|
|
<value>javaHash</value>
|
|
<value>hiveHash</value>
|
|
<value>xxHash32</value>
|
|
<value>xxHash64</value>
|
|
<value>CRC32</value>
|
|
</values>
|
|
</substitution>
|
|
<substitution>
|
|
<name>string_slow</name>
|
|
<values>
|
|
<value>materialize('Lorem ipsum dolor sit amet, consectetur adipiscing elit. Mauris sollicitudin nisi ac erat mollis dapibus. Maecenas leo purus, bibendum eu erat eget, iaculis molestie tortor. Phasellus maximus odio nec mauris ultrices dictum. Morbi efficitur nisl eget congue mollis. Vestibulum pharetra diam vitae urna interdum, eget ultricies justo sollicitudin. Nunc sit amet purus id leo tempus dignissim. Donec ac lacus ut orci tempus scelerisque quis ultricies nibh. Nullam lobortis, erat ac ullamcorper interdum, odio nisl elementum quam, ut malesuada massa nunc eget quam. Nam suscipit neque quis sapien ultricies imperdiet. Maecenas augue libero, finibus tristique sagittis et, semper nec arcu. Morbi non tortor ultrices, sollicitudin justo sed, accumsan ligula. Nullam at ipsum in nibh auctor ullamcorper. Nullam laoreet neque id lorem condimentum tincidunt. Nullam vel orci nibh. Ut sit amet sem faucibus, fringilla orci at, lacinia enim. Mauris imperdiet ex id scelerisque eleifend. Ut tincidunt massa nibh, viverra pharetra metus')</value>
|
|
</values>
|
|
</substitution>
|
|
<substitution>
|
|
<name>string</name>
|
|
<values>
|
|
<value>materialize('')</value>
|
|
<value>toString(1000000000+number)</value>
|
|
</values>
|
|
</substitution>
|
|
<substitution>
|
|
<name>table_slow</name>
|
|
<values>
|
|
<value>zeros(1000000)</value>
|
|
<value>zeros_mt(10000000)</value>
|
|
</values>
|
|
</substitution>
|
|
<substitution>
|
|
<name>table</name>
|
|
<values>
|
|
<value>numbers(100000000)</value>
|
|
<value>numbers_mt(1000000000)</value>
|
|
</values>
|
|
</substitution>
|
|
</substitutions>
|
|
|
|
<query>SELECT count() from {table} where not ignore({gp_hash_func}({string}))</query>
|
|
<query>SELECT count() from {table_slow} where not ignore({gp_hash_func}({string_slow}))</query>
|
|
</test>
|