add performance test

This commit is contained in:
Vxider 2019-12-13 18:50:14 +08:00
parent ec784150b3
commit f31d61e450

View File

@ -0,0 +1,23 @@
<test>
<type>loop</type>
<stop_conditions>
<any_of>
<iterations>2</iterations>
</any_of>
</stop_conditions>
<main_metric>
<rows_per_second />
</main_metric>
<preconditions>
<table_exists>default.hits_10m_single</table_exists>
</preconditions>
<create_query>CREATE TABLE hits2 AS hits_10m_single</create_query>
<query>INSERT INTO hits2 SELECT * FROM hits_10m_single</query>
<drop_query>DROP TABLE IF EXISTS hits2</drop_query>
</test>