ClickHouse/dbms/tests/performance/general_purpose_hashes_on_UUID.xml

55 lines
1.6 KiB
XML
Raw Normal View History

2019-12-06 18:10:03 +00:00
<test>
<type>loop</type>
<stop_conditions>
<all_of>
<iterations>3</iterations>
<min_time_not_changing_for_ms>10000</min_time_not_changing_for_ms>
</all_of>
<any_of>
<iterations>5</iterations>
<total_time_ms>60000</total_time_ms>
</any_of>
</stop_conditions>
<main_metric>
<min_time/>
</main_metric>
<substitutions>
<substitution>
<name>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>javaHash</value>
<value>hiveHash</value>
<value>xxHash32</value>
<value>xxHash64</value>
</values>
</substitution>
<substitution>
<name>value</name>
<values>
<value>toUUID('61f0c404-5cb3-11e7-907b-a6006ad3dba0')</value>
<value>toDecimal128(number, 23)</value>
<value>generateUUIDv4()</value>
</values>
</substitution>
<substitution>
<name>table</name>
<values>
<value>numbers(1000000)</value>
<value>numbers_mt(10000000)</value>
</values>
</substitution>
</substitutions>
<query>SELECT count() from {table} where not ignore({hash_func}({value}))</query>
</test>