From 1dc284d9f10e14338e7c9440b6aae1469d0f47e6 Mon Sep 17 00:00:00 2001 From: Alexey Milovidov Date: Sat, 23 May 2020 17:41:13 +0300 Subject: [PATCH] Add performance test #10981 --- tests/performance/sort.xml | 3 --- tests/performance/sort_radix_trivial.xml | 5 +++++ 2 files changed, 5 insertions(+), 3 deletions(-) create mode 100644 tests/performance/sort_radix_trivial.xml diff --git a/tests/performance/sort.xml b/tests/performance/sort.xml index e5781548a37..39de5fc04a0 100644 --- a/tests/performance/sort.xml +++ b/tests/performance/sort.xml @@ -1,7 +1,4 @@ - - - CREATE TABLE rand_unlimited_10m_8 (key UInt8) Engine = Memory CREATE TABLE rand_1k_10m_16 (key UInt16) Engine = Memory diff --git a/tests/performance/sort_radix_trivial.xml b/tests/performance/sort_radix_trivial.xml new file mode 100644 index 00000000000..fb3dc838a9c --- /dev/null +++ b/tests/performance/sort_radix_trivial.xml @@ -0,0 +1,5 @@ + + SELECT rand32() AS x FROM numbers(1000000) ORDER BY x + SELECT rand64() AS x FROM numbers(1000000) ORDER BY x + SELECT 1 / rand64() AS x FROM numbers(1000000) ORDER BY x +