mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-18 20:32:43 +00:00
update perf tests
sed -i s'/^<test.*$/<test>/g' tests/performance/*.xml WITH ceil(max(q[3]), 1) AS h SELECT concat('sed -i s\'/^<test.*$/<test max_ignored_relative_change="', toString(h), '">/g\' tests/performance/', test, '.xml') AS s FROM ( SELECT test, query_index, count(*), min(event_time), max(event_time) AS t, arrayMap(x -> floor(x, 3), quantiles(0, 0.5, 0.95, 1)(stat_threshold)) AS q, median(stat_threshold) AS m FROM perftest.query_metrics_v2 WHERE ((pr_number != 0) AND (event_date > '2021-01-01')) AND (metric = 'client_time') AND (abs(diff) < 0.05) AND (old_value > 0.1) GROUP BY test, query_index, query_display_name HAVING (t > '2021-01-01 00:00:00') AND ((q[3]) > 0.1) ORDER BY test DESC ) GROUP BY test ORDER BY h DESC FORMAT PrettySpace
This commit is contained in:
parent
ef72ba7349
commit
b4afc49d3c
@ -1,4 +1,4 @@
|
|||||||
<test>
|
<test max_ignored_relative_change="0.2">
|
||||||
|
|
||||||
<settings>
|
<settings>
|
||||||
<allow_experimental_map_type>1</allow_experimental_map_type>
|
<allow_experimental_map_type>1</allow_experimental_map_type>
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
<test max_ignored_relative_change="0.2">
|
<test>
|
||||||
<create_query>DROP TABLE IF EXISTS perf_lc_str</create_query>
|
<create_query>DROP TABLE IF EXISTS perf_lc_str</create_query>
|
||||||
<create_query>CREATE TABLE perf_lc_str(
|
<create_query>CREATE TABLE perf_lc_str(
|
||||||
str LowCardinality(String),
|
str LowCardinality(String),
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
<test max_ignored_relative_change="0.2">
|
<test>
|
||||||
<settings>
|
<settings>
|
||||||
<max_memory_usage>15G</max_memory_usage>
|
<max_memory_usage>15G</max_memory_usage>
|
||||||
</settings>
|
</settings>
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
<test>
|
<test max_ignored_relative_change="0.2">
|
||||||
<query>SELECT count() FROM zeros(10000000) WHERE NOT ignore(if(rand() % 2, toDateTime('2019-02-04 01:24:31'), toDate('2019-02-04')))</query>
|
<query>SELECT count() FROM zeros(10000000) WHERE NOT ignore(if(rand() % 2, toDateTime('2019-02-04 01:24:31'), toDate('2019-02-04')))</query>
|
||||||
<query>SELECT count() FROM zeros(10000000) WHERE NOT ignore(multiIf(rand() % 2, toDateTime('2019-02-04 01:24:31'), toDate('2019-02-04')))</query>
|
<query>SELECT count() FROM zeros(10000000) WHERE NOT ignore(multiIf(rand() % 2, toDateTime('2019-02-04 01:24:31'), toDate('2019-02-04')))</query>
|
||||||
<query>SELECT count() FROM zeros(10000000) WHERE NOT ignore(if(rand() % 2, [toDateTime('2019-02-04 01:24:31')], [toDate('2019-02-04')]))</query>
|
<query>SELECT count() FROM zeros(10000000) WHERE NOT ignore(if(rand() % 2, [toDateTime('2019-02-04 01:24:31')], [toDate('2019-02-04')]))</query>
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
<test max_ignored_relative_change="0.2">
|
<test>
|
||||||
<settings>
|
<settings>
|
||||||
<max_memory_usage>15G</max_memory_usage>
|
<max_memory_usage>15G</max_memory_usage>
|
||||||
</settings>
|
</settings>
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
<test>
|
<test max_ignored_relative_change="0.2">
|
||||||
<substitutions>
|
<substitutions>
|
||||||
<substitution>
|
<substitution>
|
||||||
<name>gp_hash_func</name>
|
<name>gp_hash_func</name>
|
||||||
|
@ -1,4 +1,8 @@
|
|||||||
<test max_ignored_relative_change="0.2">
|
<test max_ignored_relative_change="0.2">
|
||||||
|
<settings>
|
||||||
|
<max_insert_threads>8</max_insert_threads>
|
||||||
|
</settings>
|
||||||
|
|
||||||
<create_query>
|
<create_query>
|
||||||
CREATE TABLE a
|
CREATE TABLE a
|
||||||
(
|
(
|
||||||
@ -10,10 +14,10 @@ PARTITION BY d
|
|||||||
ORDER BY d
|
ORDER BY d
|
||||||
</create_query>
|
</create_query>
|
||||||
|
|
||||||
<fill_query>insert into a select '2000-01-01', ['aa','bb','cc','dd'][number % 4 + 1] from numbers(100000000)</fill_query>
|
<fill_query>insert into a select '2000-01-01', ['aa','bb','cc','dd'][number % 4 + 1] from numbers_mt(100000000)</fill_query>
|
||||||
<fill_query>insert into a select '2000-01-02', ['aa','bb','cc','dd'][number % 4 + 1] from numbers(100000000)</fill_query>
|
<fill_query>insert into a select '2000-01-02', ['aa','bb','cc','dd'][number % 4 + 1] from numbers_mt(100000000)</fill_query>
|
||||||
<fill_query>insert into a select '2000-01-03', ['aa','bb','cc','dd'][number % 4 + 1] from numbers(100000000)</fill_query>
|
<fill_query>insert into a select '2000-01-03', ['aa','bb','cc','dd'][number % 4 + 1] from numbers_mt(100000000)</fill_query>
|
||||||
<fill_query>insert into a select '2000-01-04', ['aa','bb','cc','dd'][number % 4 + 1] from numbers(100000000)</fill_query>
|
<fill_query>insert into a select '2000-01-04', ['aa','bb','cc','dd'][number % 4 + 1] from numbers_mt(100000000)</fill_query>
|
||||||
|
|
||||||
<fill_query>OPTIMIZE TABLE a FINAL</fill_query>
|
<fill_query>OPTIMIZE TABLE a FINAL</fill_query>
|
||||||
|
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
<test max_ignored_relative_change="0.2">
|
<test>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
<test max_ignored_relative_change="0.2">
|
<test>
|
||||||
<query>
|
<query>
|
||||||
WITH
|
WITH
|
||||||
bitXor(number, 0x4CF2D2BAAE6DA887) AS x0,
|
bitXor(number, 0x4CF2D2BAAE6DA887) AS x0,
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
<test max_ignored_relative_change="0.9">
|
<test max_ignored_relative_change="1.3">
|
||||||
<create_query>CREATE TABLE ints (i64 Int64, i32 Int32, i16 Int16, i8 Int8) ENGINE = Memory</create_query>
|
<create_query>CREATE TABLE ints (i64 Int64, i32 Int32, i16 Int16, i8 Int8) ENGINE = Memory</create_query>
|
||||||
|
|
||||||
<settings>
|
<settings>
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
<test>
|
<test max_ignored_relative_change="0.2">
|
||||||
<substitutions>
|
<substitutions>
|
||||||
<substitution>
|
<substitution>
|
||||||
<name>format</name>
|
<name>format</name>
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
<test>
|
<test max_ignored_relative_change="0.3">
|
||||||
<query>SELECT sumOrNull(number) FROM numbers(100000000)</query>
|
<query>SELECT sumOrNull(number) FROM numbers(100000000)</query>
|
||||||
<query>SELECT sumOrDefault(toNullable(number)) FROM numbers(100000000)</query>
|
<query>SELECT sumOrDefault(toNullable(number)) FROM numbers(100000000)</query>
|
||||||
<query>SELECT sumOrNull(number) FROM numbers(10000000) GROUP BY number % 1024</query>
|
<query>SELECT sumOrNull(number) FROM numbers(10000000) GROUP BY number % 1024</query>
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
<test>
|
<test max_ignored_relative_change="0.2">
|
||||||
<create_query>
|
<create_query>
|
||||||
CREATE TABLE hits_wide AS hits_10m_single ENGINE = MergeTree()
|
CREATE TABLE hits_wide AS hits_10m_single ENGINE = MergeTree()
|
||||||
PARTITION BY toYYYYMM(EventDate)
|
PARTITION BY toYYYYMM(EventDate)
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
<test>
|
<test max_ignored_relative_change="0.2">
|
||||||
<create_query>
|
<create_query>
|
||||||
CREATE TABLE hits_wide AS hits_10m_single ENGINE = MergeTree()
|
CREATE TABLE hits_wide AS hits_10m_single ENGINE = MergeTree()
|
||||||
PARTITION BY toYYYYMM(EventDate)
|
PARTITION BY toYYYYMM(EventDate)
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
<test>
|
<test max_ignored_relative_change="0.2">
|
||||||
<create_query>
|
<create_query>
|
||||||
CREATE TABLE hits_wide AS hits_10m_single ENGINE = MergeTree()
|
CREATE TABLE hits_wide AS hits_10m_single ENGINE = MergeTree()
|
||||||
PARTITION BY toYYYYMM(EventDate)
|
PARTITION BY toYYYYMM(EventDate)
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
<test max_ignored_relative_change="0.2">
|
<test>
|
||||||
<settings>
|
<settings>
|
||||||
<optimize_aggregation_in_order>1</optimize_aggregation_in_order>
|
<optimize_aggregation_in_order>1</optimize_aggregation_in_order>
|
||||||
<optimize_read_in_order>1</optimize_read_in_order>
|
<optimize_read_in_order>1</optimize_read_in_order>
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
<test max_ignored_relative_change="0.2">
|
<test>
|
||||||
<create_query>CREATE TABLE test_in (`a` UInt32) ENGINE = MergeTree() ORDER BY a</create_query>
|
<create_query>CREATE TABLE test_in (`a` UInt32) ENGINE = MergeTree() ORDER BY a</create_query>
|
||||||
<fill_query>INSERT INTO test_in SELECT number FROM numbers(500000000)</fill_query>
|
<fill_query>INSERT INTO test_in SELECT number FROM numbers(500000000)</fill_query>
|
||||||
|
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
<test max_ignored_relative_change="0.7">
|
<test>
|
||||||
|
|
||||||
<preconditions>
|
<preconditions>
|
||||||
<table_exists>hits_100m_single</table_exists>
|
<table_exists>hits_100m_single</table_exists>
|
||||||
|
Loading…
Reference in New Issue
Block a user