Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
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

pgsql-hackers by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group