Commit bb9a4a7
authored
bench: increase in_list benchmark coverage (#19443)
## Which issue does this PR close?
- Related to #19241
## Rationale for this change
This PR adds benchmarks and tests to ground upcoming `in_list`
optimizations:
1. **Realistic Data Patterns**: Adds mixed-length string benchmarks to
accurately measure the `StringView` two-stage lookup (prefix check +
validation) performance across variable lengths.
2. **Type Coverage**: Adds baseline tests for temporal and decimal types
to ensure correctness before they are migrated to specialized evaluation
paths.
## What changes are included in this PR?
- **Mixed-Length Benchmarks**: Scenarios for `StringArray` and
`StringViewArray` with variable lengths, match rates, and null
densities.
- **Extended Tests**: Coverage for esoteric types (Temporal, Duration,
Interval, Decimal256) in `physical-expr`.
## Are these changes tested?
Yes, via new unit tests and benchmark verification.
## Are there any user-facing changes?
No.1 parent 1e59164 commit bb9a4a7
2 files changed
Lines changed: 369 additions & 10 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
54 | 54 | | |
55 | 55 | | |
56 | 56 | | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
57 | 61 | | |
58 | 62 | | |
59 | 63 | | |
| |||
150 | 154 | | |
151 | 155 | | |
152 | 156 | | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
| 165 | + | |
| 166 | + | |
| 167 | + | |
| 168 | + | |
| 169 | + | |
| 170 | + | |
| 171 | + | |
| 172 | + | |
| 173 | + | |
| 174 | + | |
| 175 | + | |
| 176 | + | |
| 177 | + | |
| 178 | + | |
| 179 | + | |
| 180 | + | |
| 181 | + | |
| 182 | + | |
| 183 | + | |
| 184 | + | |
| 185 | + | |
| 186 | + | |
| 187 | + | |
| 188 | + | |
| 189 | + | |
| 190 | + | |
| 191 | + | |
| 192 | + | |
| 193 | + | |
| 194 | + | |
| 195 | + | |
| 196 | + | |
| 197 | + | |
| 198 | + | |
| 199 | + | |
| 200 | + | |
| 201 | + | |
| 202 | + | |
| 203 | + | |
| 204 | + | |
| 205 | + | |
| 206 | + | |
| 207 | + | |
| 208 | + | |
| 209 | + | |
| 210 | + | |
| 211 | + | |
| 212 | + | |
| 213 | + | |
| 214 | + | |
| 215 | + | |
| 216 | + | |
| 217 | + | |
| 218 | + | |
| 219 | + | |
| 220 | + | |
| 221 | + | |
153 | 222 | | |
154 | 223 | | |
155 | 224 | | |
| |||
158 | 227 | | |
159 | 228 | | |
160 | 229 | | |
| 230 | + | |
| 231 | + | |
| 232 | + | |
| 233 | + | |
| 234 | + | |
| 235 | + | |
| 236 | + | |
| 237 | + | |
161 | 238 | | |
162 | 239 | | |
163 | 240 | | |
| |||
0 commit comments