Added performance test to show degradation of performance in gcc-9 in more isolated way

This commit is contained in:
Alexey Milovidov 2019-08-02 23:18:03 +03:00
parent 5e942d2d79
commit 2fb71013af

View File

@ -0,0 +1,17 @@
<test>
<type>loop</type>
<stop_conditions>
<all_of>
<iterations>10</iterations>
</all_of>
</stop_conditions>
<!-- gcc-8 generates 20% faster code than gcc-9
clang-8 generates more than two times slower code than gcc
-->
<create_query>CREATE TABLE empty_strings (s String) ENGINE = Log;</create_query>
<query>INSERT INTO empty_strings SELECT '' FROM numbers(100000000);</query>
<drop_query>DROP TABLE IF EXISTS empty_strings</drop_query>
</test>