Performance tests fix

This commit is contained in:
Maksim Kita 2022-02-24 16:17:52 +00:00 committed by Maksim Kita
parent 5ffb12eb8c
commit 98df85d2b7
3 changed files with 8 additions and 6 deletions

View File

@ -7,14 +7,14 @@
<table_exists>hits_100m_single</table_exists>
</preconditions>
<query>SELECT detectLanguage(SearchPhrase) FROM hits_100m_single FORMAT Null</query>
<query>SELECT detectLanguageMixed(SearchPhrase) FROM hits_100m_single FORMAT Null</query>
<query>SELECT detectTonality(SearchPhrase) FROM hits_100m_single FORMAT Null</query>
<query>SELECT detectLanguage(SearchPhrase) FROM hits_100m_single LIMIT 10000000 FORMAT Null</query>
<query>SELECT detectLanguageMixed(SearchPhrase) FROM hits_100m_single 10000000 FORMAT Null</query>
<query>SELECT detectTonality(SearchPhrase) FROM hits_100m_single 10000000 FORMAT Null</query>
<!-- Input is not really correct for these functions,
but at least it gives us some idea about their performance -->
<query>SELECT detectProgrammingLanguage(SearchPhrase) FROM hits_100m_single FORMAT Null</query>
<query>SELECT detectLanguageUnknown(SearchPhrase) FROM hits_100m_single FORMAT Null</query>
<query>SELECT detectCharset(SearchPhrase) FROM hits_100m_single FORMAT Null</query>
<query>SELECT detectProgrammingLanguage(SearchPhrase) FROM hits_100m_single 10000000 FORMAT Null</query>
<query>SELECT detectLanguageUnknown(SearchPhrase) FROM hits_100m_single 10000000 FORMAT Null</query>
<query>SELECT detectCharset(SearchPhrase) FROM hits_100m_single 10000000 FORMAT Null</query>
</test>

View File

@ -3,6 +3,7 @@
<settings>
<max_partitions_per_insert_block>1024</max_partitions_per_insert_block>
<max_insert_threads>16</max_insert_threads>
<max_memory_usage>15G</max_memory_usage>
</settings>
<substitutions>

View File

@ -5,6 +5,7 @@
<max_partitions_per_insert_block>2000</max_partitions_per_insert_block>
<max_insert_block_size>10000000</max_insert_block_size>
<max_threads>8</max_threads>
<max_memory_usage>15G</max_memory_usage>
</settings>
<substitutions>