Re: [HACKERS] Time to drop old-style (V0) functions? - Mailing list pgsql-hackers

From Andres Freund
Subject Re: [HACKERS] Time to drop old-style (V0) functions?
Date
Msg-id 20161220091410.ks37gwvupr7bb36o@alap3.anarazel.de
Whole thread Raw
In response to Re: [HACKERS] Time to drop old-style (V0) functions?  (Pavel Stehule <pavel.stehule@gmail.com>)
Responses Re: [HACKERS] Time to drop old-style (V0) functions?  (Andres Freund <andres@anarazel.de>)
List pgsql-hackers
On 2016-12-20 09:59:43 +0100, Pavel Stehule wrote:
> In this case some benchmark can be very important (and interesting). I am
> not sure if faster function execution has significant benefit on Vulcano
> like executor.

It's fairly to see function calls as significant overhead. In fact, I
moved things *away* from a pure Vulcano style executor, and the benefits
weren't huge, primarily due to expression evaluation overhead (of which
function call overhead is one part).  After JITing of expressions, it
becomes even more noticeable, because the overhead of the expression
evaluation is reduced.

I don't quite see why a Vulcano style executor should make function call
overhead meaningless?

Regards,

Andres



pgsql-hackers by date:

Previous
From: Beena Emerson
Date:
Subject: Re: [HACKERS] increasing the default WAL segment size
Next
From: Andres Freund
Date:
Subject: Re: [HACKERS] Time to drop old-style (V0) functions?