ClickHouse/tests/performance/consistent_hashes.xml

33 lines
907 B
XML
Raw Normal View History

<test>
<stop_conditions>
<any_of>
2019-05-21 10:03:36 +00:00
<total_time_ms>15000</total_time_ms>
</any_of>
</stop_conditions>
<substitutions>
<substitution>
<name>hash_func</name>
<values>
<value>yandexConsistentHash</value>
<value>jumpConsistentHash</value>
</values>
</substitution>
<substitution>
<name>buckets</name>
<values>
<value>2</value>
<value>500</value>
2019-08-03 19:51:47 +00:00
<value>32768</value>
</values>
</substitution>
</substitutions>
2020-03-02 20:40:17 +00:00
<query>SELECT {hash_func}(number, {buckets}) FROM numbers(1000000) FORMAT Null</query>
2020-03-02 15:34:43 +00:00
<!-- sumbur with high bucket numbers is very slow, so only test two buckers -->
2020-03-02 20:40:17 +00:00
<query>SELECT sumburConsistentHash(toUInt32(number), 2) FROM numbers(1000000) FORMAT Null</query>
</test>