On 03/12/2026 12:38, David Geier wrote:
> Beyond that we should settle on a common benchmark. If the benchmark is
> not specific enough for some of the optimizations, we can extend it or
> at least use it for showing there are no regressions. I attached the
> latest version of my NUMERIC benchmark. I extended it to also cover
> special NUMERICs and more functionality (hashing, in/out, ...).
I'd prefer to work and benchmark each piece separately. It is clear to me that
they address quite different use cases. For example, aggregate improvement
compacts the “fast path” transition state from 256 bytes to 64 and improves
execution time mostly by reducing memory consumption. EQ/NEQ feature is all
about CPU cycles.

Also, each feature has its own regressions. By pointing the benchmark to these
regressions, we would better understand their value.

What's more, it is also clear that each feature might be extended to other
variable-length types with varying efficacy. So, concentration on one piece at a
time might reveal these benefits.

-- 
regards, Andrei Lepikhov,
pgEdge


Reply via email to