ClickHouse/dbms/tests/performance/general_purpose_hashes_on_UUID.xml

64 lines
2.0 KiB
XML
Raw Normal View History

2019-12-06 18:10:03 +00:00
<test>
<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>
<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>materialize(toUUID('61f0c404-5cb3-11e7-907b-a6006ad3dba0'))</value>
<value>generateUUIDv4()</value>
2019-12-06 18:10:03 +00:00
</values>
</substitution>
<substitution>
<name>value_slow</name>
<values>
<value>toDecimal128(number, 23)</value>
</values>
</substitution>
2019-12-06 18:10:03 +00:00
<substitution>
<name>table</name>
<values>
2020-03-11 11:22:10 +00:00
<value>zeros(100000000)</value>
<value>zeros_mt(1000000000)</value>
</values>
</substitution>
<substitution>
<name>table_slow</name>
<values>
<value>numbers(1000000)</value>
<value>numbers_mt(10000000)</value>
2019-12-06 18:10:03 +00:00
</values>
</substitution>
</substitutions>
<query>SELECT count() from {table} where not ignore({hash_func}({value}))</query>
<query>SELECT count() from {table_slow} where not ignore({hash_func}({value_slow}))</query>
2019-12-06 18:10:03 +00:00
</test>