On Wed, May 02, 2012 at 10:37:58AM -0700, Jeff Janes wrote:
> I could try to clean up and post the patch that implements this if you want.
>
> The second method was just to do --enable-profiling on a stock build
> and look at the call graph section of gprof output. It attributed 50%
> to pg_plan_queries and children and about 10% to each of
> pg_parse_query and pg_analyze_and_rewrite (including their respective
> children). I don't put tremendous faith in gprof's call graph, but
> the fact that the results are in agreement with the other method gives
> me more confidence in both.
Those are the ratio's I (and I think Tom) expected to see.
--
Bruce Momjian <bruce(at)momjian(dot)us> http://momjian.us
EnterpriseDB http://enterprisedb.com
+ It's impossible for everything to be true. +
In response to
pgsql-hackers by date
| Next: | From: Bruce Momjian | Date: 2012-05-02 18:17:38 |
| Subject: Beta time? |
| Previous: | From: Robert Haas | Date: 2012-05-02 18:14:31 |
| Subject: Re: online debloatification (was: extending relations more efficiently) |