mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-05 23:31:24 +00:00
b4afc49d3c
sed -i s'/^<test.*$/<test>/g' tests/performance/*.xml 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_v2 WHERE ((pr_number != 0) AND (event_date > '2021-01-01')) AND (metric = 'client_time') AND (abs(diff) < 0.05) AND (old_value > 0.1) GROUP BY test, query_index, query_display_name HAVING (t > '2021-01-01 00:00:00') AND ((q[3]) > 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.2">
|
|
<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(5000000)</value>
|
|
</values>
|
|
</substitution>
|
|
<substitution>
|
|
<name>table</name>
|
|
<values>
|
|
<value>numbers(10000000)</value>
|
|
<value>numbers_mt(500000000)</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>
|