Re: Inlining of couple of functions in pl_exec.c improves performance - Mailing list pgsql-hackers

From Amit Khandekar
Subject Re: Inlining of couple of functions in pl_exec.c improves performance
Date
Msg-id CAJ3gD9dtUMN12mkCW5OK0aaKcHUj1WoQ1auQ8JXNsSOCHwh9Vw@mail.gmail.com
Whole thread Raw
In response to Re: Inlining of couple of functions in pl_exec.c improves performance  (Pavel Stehule <pavel.stehule@gmail.com>)
Responses Re: Inlining of couple of functions in pl_exec.c improves performance  (Amit Khandekar <amitdkhan.pg@gmail.com>)
List pgsql-hackers
On Sat, 23 May 2020 at 23:24, Pavel Stehule <pavel.stehule@gmail.com> wrote:
>
>    FOR counter IN 1..1800000 LOOP
>       id = 0; id = 0; id1 = 0;
>       id2 = 0; id3 = 0; id1 = 0; id2 = 0;
>       id3 = 0; id = 0; id = 0; id1 = 0;
>       id2 = 0; id3 = 0; id1 = 0; id2 = 0;
>       id3 = 0;
>    END LOOP;
>
> This is not too much typical PLpgSQL code. All expressions are not parametrized - so this test is little bit
obscure.
>
> Last strange performance plpgsql benchmark did calculation of pi value. It does something real

Yeah, basically I wanted to have many statements, and that too with
many assignments where casts are not required. Let me check if I can
come up with a real-enough testcase. Thanks.



pgsql-hackers by date:

Previous
From: Laurenz Albe
Date:
Subject: Re: what can go in root.crt ?
Next
From: Bruce Momjian
Date:
Subject: Re: what can go in root.crt ?