add perf-test and fix

This commit is contained in:
Albert Kidrachev 2020-06-04 20:10:52 +03:00
parent be95da34b3
commit 60b86f524f
2 changed files with 6 additions and 1 deletions

View File

@ -65,7 +65,7 @@ size_t getFilterMask(const ColumnRawPtrs & lhs, const ColumnRawPtrs & rhs, size_
} }
for (size_t i = 0; i != rows_num; ++i) for (size_t i = 0; i != rows_num; ++i)
filtered_count -= (filter[i] = (compare_results[i] >= 0)); filtered_count -= (filter[i] = (compare_results[i] <= 0));
return filtered_count; return filtered_count;
} }

View File

@ -32,6 +32,11 @@
</substitutions> </substitutions>
<query><![CDATA[SELECT {str1} FROM hits_100m_single ORDER BY {str1} LIMIT 10]]></query> <query><![CDATA[SELECT {str1} FROM hits_100m_single ORDER BY {str1} LIMIT 10]]></query>
<query><![CDATA[SELECT {str1} FROM hits_100m_single ORDER BY {str1} LIMIT 300]]></query>
<query><![CDATA[SELECT {str1} FROM hits_100m_single ORDER BY {str1} LIMIT 1500]]></query>
<query><![CDATA[SELECT {str1} FROM hits_100m_single ORDER BY {str1} LIMIT 2000]]></query>
<query><![CDATA[SELECT {str1} FROM hits_100m_single ORDER BY {str1} LIMIT 5000]]></query>
<query><![CDATA[SELECT {str1} FROM hits_100m_single ORDER BY {str1} LIMIT 10000, 10000]]></query>
<query><![CDATA[SELECT {str1} FROM hits_10m_single ORDER BY {str1} LIMIT 9000000, 10]]></query> <query><![CDATA[SELECT {str1} FROM hits_10m_single ORDER BY {str1} LIMIT 9000000, 10]]></query>
<query><![CDATA[SELECT {str1}, {str2} FROM hits_100m_single ORDER BY {str1}, {str2} LIMIT 10]]></query> <query><![CDATA[SELECT {str1}, {str2} FROM hits_100m_single ORDER BY {str1}, {str2} LIMIT 10]]></query>