Re: c-function variants running time - Mailing list pgsql-hackers

From Robert Haas
Subject Re: c-function variants running time
Date
Msg-id CA+Tgmob-Wwwt+5g1SWdgYuToSPMO4F1LLHvkr4jFamuWfJqrAw@mail.gmail.com
Whole thread Raw
In response to c-function variants running time  (Armando <armando.miraglia@stud-inf.unibz.it>)
List pgsql-hackers
On Fri, May 4, 2012 at 12:41 PM, Armando
<armando.miraglia@stud-inf.unibz.it> wrote:
> Hi everybody.
>
> First of all I have to thank you for your wonderful job! PostgreSQL rocks!
>
> I am writing you because I am interested in understanding some specifics related
> to PostgreSQL internals. More precisely, I am investigating the running time
> of the different function implementation approaches, which is part of my BSc
> thesis.

I would suggest that you run perf or oprofile to figure out where the
time is being spent.

It's a bit hard to tell what these functions are intended to do.  It's
not obvious that you're doing anything that couldn't be done using
straight SQL.

How fast do you need this to run?

-- 
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company


pgsql-hackers by date:

Previous
From: Simon Riggs
Date:
Subject: Re: Latch for the WAL writer - further reducing idle wake-ups.
Next
From: Robert Haas
Date:
Subject: CLOG background writing