Thanks for the reply. The links are good rabbit holes to go down.

On Thu, Nov 26, 2026 at 11:03 PM Tom Lane <[email protected]> wrote:

> abhinav omprakash <[email protected]> writes:
> > When someone is working on a performance patch, do they target
> > a specific OS and hardware? Is this up to the user or is there a specific
> > one the postgresql developer group prescribes?
>
> I think most of the performance work that gets done around here is
> platform-independent.  We do sometimes worry about whether code is
> amenable to auto-vectorization (for instance [1]), but that helps
> on multiple platforms and typically doesn't hurt anywhere.
>
> People do sometimes make platform-specific performance improvements,
> such as [2].  We don't want to clutter our tree with too much
> platform-specific code, and there's an expectation that you don't
> make things worse for other platforms.  But it does happen, and
> there's not really any restrictions on what to target; you just
> have to convince people that whatever-it-is is worth the trouble.
> Marginal improvements are probably not going to get enough
> attention to get committed.
>
> (This is all just MHO, not any sort of project policy.)
>
>                         regards, tom lane
>
> [1]
> https://git.postgresql.org/gitweb/?a=commitdiff&h=158b6d510&p=postgresql.git
> [2]
> https://git.postgresql.org/gitweb/?a=commitdiff&h=3d0b4b106&p=postgresql.git
>


-- 
abhinav

Reply via email to