Try to fix performance test results

This commit is contained in:
Robert Schulze 2022-05-31 09:29:04 +02:00
parent 600512cc08
commit 81318e07d6
No known key found for this signature in database
GPG Key ID: 26703B55FB13728A

View File

@ -5,15 +5,15 @@
<substitution>
<name>numbers</name>
<values>
<value>numbers_mt(2000000)</value>
<value>numbers_mt(1500000)</value>
</values>
</substitution>
<substitution>
<name>needle_like</name>
<values>
simple patterns, all unique
<!-- simple patterns, all unique -->
<value>'%' || toString(number) || '_'</value>
simple patterns, low distinctness (10 patterns)
<!-- simple patterns, low distinctness (10 patterns) -->
<value>'%' || toString(number % 10) || '_'</value>
</values>
</substitution>
@ -40,23 +40,27 @@
<query>
select toString(number) as haystack, like(haystack, '%x_')
from(select * from {numbers})
format Null
</query>
<query>
select toString(number) as haystack, match(haystack, '.*x.')
from(select * from {numbers})
format Null
</query>
<!-- non-const needle -->
<query>
select toString(number) as haystack, {needle_like} as needle, like(haystack, needle)
from (select * from {numbers});
from (select * from {numbers})
format Null
</query>
<query>
select toString(number) as haystack, {needle_match} as needle, match(haystack, needle)
from (select * from {numbers});
from (select * from {numbers})
format Null
</query>
</test>