mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-21 15:12:02 +00:00
Added performance test to resemble questionable benchmark
This commit is contained in:
parent
875369676f
commit
bfc8ddbd5c
@ -1,5 +1,3 @@
|
||||
<test>
|
||||
|
||||
<query>SELECT sum(number) FROM (select number from system.numbers_mt limit 1000000000)</query>
|
||||
|
||||
</test>
|
||||
|
@ -1,7 +1,4 @@
|
||||
<test>
|
||||
|
||||
|
||||
|
||||
<preconditions>
|
||||
<table_exists>hits_10m_single</table_exists>
|
||||
</preconditions>
|
||||
|
36
tests/performance/questdb_sum_double.xml
Normal file
36
tests/performance/questdb_sum_double.xml
Normal file
@ -0,0 +1,36 @@
|
||||
<test>
|
||||
<settings>
|
||||
<max_threads>4</max_threads>
|
||||
<use_uncompressed_cache>1</use_uncompressed_cache>
|
||||
<merge_tree_max_rows_to_use_cache>2000000000</merge_tree_max_rows_to_use_cache>
|
||||
<merge_tree_max_bytes_to_use_cache>10000000000</merge_tree_max_bytes_to_use_cache>
|
||||
</settings>
|
||||
|
||||
<substitutions>
|
||||
<substitution>
|
||||
<name>format</name>
|
||||
<values>
|
||||
<value>Memory</value>
|
||||
<value>MergeTree ORDER BY tuple()</value>
|
||||
</values>
|
||||
</substitution>
|
||||
<substitution>
|
||||
<name>type</name>
|
||||
<values>
|
||||
<value>Float64</value>
|
||||
<value>Float64 NULL</value>
|
||||
<value>Float32</value>
|
||||
<value>Float32 NULL</value>
|
||||
<value>Int32</value>
|
||||
<value>Int32 NULL</value>
|
||||
</values>
|
||||
</substitution>
|
||||
</substitutions>
|
||||
|
||||
<create_query>CREATE TABLE zz (x Float64) ENGINE {engine}</create_query>
|
||||
<fill_query>INSERT INTO zz SELECT rand() FROM numbers(1000000000)</fill_query>
|
||||
|
||||
<query>SELECT sum(x) FROM zz</query>
|
||||
|
||||
<drop_query>DROP TABLE IF EXISTS zz</drop_query>
|
||||
</test>
|
@ -1,8 +1,4 @@
|
||||
<test>
|
||||
|
||||
|
||||
|
||||
|
||||
<settings>
|
||||
<max_threads>1</max_threads>
|
||||
</settings>
|
||||
|
Loading…
Reference in New Issue
Block a user