Re: Slow PL/pgSQL 8.0.RC5 (7.4.6. 3times faster)

From: Michael Fuhr <mike(at)fuhr(dot)org>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Pavel Stehule <stehule(at)kix(dot)fsv(dot)cvut(dot)cz>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: Slow PL/pgSQL 8.0.RC5 (7.4.6. 3times faster)
Date: 2005-01-13 22:42:33
Message-ID: 20050113224233.GA61555@winnie.fuhr.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Thu, Jan 13, 2005 at 05:05:00PM -0500, Tom Lane wrote:
> Pavel Stehule <stehule(at)kix(dot)fsv(dot)cvut(dot)cz> writes:
> >> And?
> >>
> >> (ie, what test case are you talking about?)
>
> > This test is function for searching max factor. It is speaking only about
> > quality of interpret an language. I would ask why?
>
> So I can replicate your test.

SELECT delitel(1000000, 1);

Mean times over the last five of six runs on my poor 500MHz FreeBSD
4.11-PRERELEASE box:

6741 ms 7.4.6 (from FreeBSD ports collection)
14427 ms 8.0.0rc5 (from CVS source)

I remembered that I had build 8.0.0rc5 with --enable-debug so I
rebuilt it without that option, not sure if that would make a
difference. The mean time increased by 8% to 15580 ms, which was
opposite from what I expected. I re-ran the 7.4.6 tests and they
came out the same as they had before.

I'm not sure what optimization flags (if any) the ports build of
7.4.6 might have used. I can take a closer look if you think it
matters.

--
Michael Fuhr
http://www.fuhr.org/~mfuhr/

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Alvaro Herrera 2005-01-13 23:06:23 Re: sparse (static analyzer) report
Previous Message Palle Girgensohn 2005-01-13 22:17:40 Re: Bug? 8.0 does not use partial index