ClickHouse/tests/performance/base64.xml

34 lines
1.0 KiB
XML
Raw Normal View History

2018-11-23 21:04:14 +00:00
<test>
<stop_conditions>
<all_of>
<total_time_ms>10000</total_time_ms>
</all_of>
<any_of>
<total_time_ms>20000</total_time_ms>
</any_of>
</stop_conditions>
<substitutions>
<substitution>
<name>string</name>
2018-11-23 21:04:14 +00:00
<values>
<value>materialize('Hello, world!')</value>
<value>materialize('This is a long string to test ClickHouse base64 functions impl..')</value>
<value>toString(number)</value>
</values>
</substitution>
<substitution>
<name>table</name>
2018-11-23 21:04:14 +00:00
<values>
2020-03-02 15:37:44 +00:00
<value>numbers(10000000)</value>
2018-11-23 21:04:14 +00:00
</values>
</substitution>
</substitutions>
2020-02-28 16:29:16 +00:00
<query>SELECT count() FROM {table} WHERE NOT ignore(base64Encode({string}))</query>
<query>SELECT count() FROM {table} WHERE base64Decode(base64Encode({string})) != {string}</query>
<query>SELECT count() FROM {table} WHERE tryBase64Decode(base64Encode({string})) != {string}</query>
2018-11-23 21:04:14 +00:00
</test>