ClickHouse/dbms/tests/performance/general_purpose_hashes.xml

66 lines
3.0 KiB
XML
Raw Normal View History

2018-12-24 14:09:54 +00:00
<test>
2019-08-20 13:33:25 +00:00
2018-12-24 14:09:54 +00:00
<stop_conditions>
2019-08-19 18:55:42 +00:00
<all_of>
<iterations>3</iterations>
<min_time_not_changing_for_ms>10000</min_time_not_changing_for_ms>
2018-12-24 14:09:54 +00:00
</all_of>
<any_of>
2019-08-19 18:55:42 +00:00
<iterations>5</iterations>
<total_time_ms>60000</total_time_ms>
2018-12-24 14:09:54 +00:00
</any_of>
</stop_conditions>
<substitutions>
<substitution>
<name>gp_hash_func</name>
2018-12-24 14:09:54 +00:00
<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>
2019-06-19 08:09:01 +00:00
<value>CRC32</value>
2018-12-24 14:09:54 +00:00
</values>
</substitution>
2020-02-06 11:51:22 +00:00
<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>
2018-12-24 14:09:54 +00:00
<substitution>
<name>string</name>
2018-12-24 14:09:54 +00:00
<values>
<value>materialize('')</value>
<value>toString(1000000000+number)</value>
2020-02-06 11:51:22 +00:00
</values>
</substitution>
<substitution>
<name>table_slow</name>
<values>
2020-03-11 11:22:10 +00:00
<value>zeros(100000)</value>
<value>zeros_mt(1000000)</value>
2018-12-24 14:09:54 +00:00
</values>
</substitution>
<substitution>
<name>table</name>
2018-12-24 14:09:54 +00:00
<values>
2020-02-05 14:47:54 +00:00
<value>numbers(10000000)</value>
<value>numbers_mt(100000000)</value>
2018-12-24 14:09:54 +00:00
</values>
</substitution>
</substitutions>
2019-08-19 18:55:42 +00:00
<query>SELECT count() from {table} where not ignore({gp_hash_func}({string}))</query>
2020-02-07 19:01:13 +00:00
<query>SELECT count() from {table_slow} where not ignore({gp_hash_func}({string_slow}))</query>
2018-12-24 14:09:54 +00:00
</test>