Add performance test #10981

This commit is contained in:
Alexey Milovidov 2020-05-23 17:41:13 +03:00
parent 73a3394b3d
commit 1dc284d9f1
2 changed files with 5 additions and 3 deletions

View File

@ -1,7 +1,4 @@
<test> <test>
<create_query>CREATE TABLE rand_unlimited_10m_8 (key UInt8) Engine = Memory</create_query> <create_query>CREATE TABLE rand_unlimited_10m_8 (key UInt8) Engine = Memory</create_query>
<create_query>CREATE TABLE rand_1k_10m_16 (key UInt16) Engine = Memory</create_query> <create_query>CREATE TABLE rand_1k_10m_16 (key UInt16) Engine = Memory</create_query>

View File

@ -0,0 +1,5 @@
<test>
<query>SELECT rand32() AS x FROM numbers(1000000) ORDER BY x</query>
<query>SELECT rand64() AS x FROM numbers(1000000) ORDER BY x</query>
<query>SELECT 1 / rand64() AS x FROM numbers(1000000) ORDER BY x</query>
</test>