Re: Inlining of couple of functions in pl_exec.c improves performance
| От | Amit Khandekar |
|---|---|
| Тема | Re: Inlining of couple of functions in pl_exec.c improves performance |
| Дата | |
| Msg-id | CAJ3gD9dtUMN12mkCW5OK0aaKcHUj1WoQ1auQ8JXNsSOCHwh9Vw@mail.gmail.com обсуждение исходный текст |
| Ответ на | Re: Inlining of couple of functions in pl_exec.c improves performance (Pavel Stehule <pavel.stehule@gmail.com>) |
| Ответы |
Re: Inlining of couple of functions in pl_exec.c improves performance
|
| Список | 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 по дате отправления: