Re: Make getrusage() output a little more readable

From: Peter Geoghegan <pg(at)heroku(dot)com>
To: Peter Eisentraut <peter(dot)eisentraut(at)2ndquadrant(dot)com>
Cc: pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Make getrusage() output a little more readable
Date: 2016-10-17 21:21:41
Message-ID: CAM3SWZQHPkiUerA-bx41pbseFVHLaNKE_VUGp0N97vu7c9mkTg@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Fri, Oct 14, 2016 at 7:06 AM, Peter Eisentraut
<peter(dot)eisentraut(at)2ndquadrant(dot)com> wrote:
> The getrusage() output that is shown by VACUUM VERBOSE and other places
> has always been a little too terse and confusing for me. I propose to
> improve that a bit:
>
> -CPU 0.01s/0.08u sec elapsed 0.18 sec.
> +CPU: user: 0.08s, system: 0.01s, elapsed: 0.18s.

I look at trace_sort output a lot, and do agree that this is confusing. +1.

--
Peter Geoghegan

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Yury Zhuravlev 2016-10-17 21:39:30 Re: Add PGDLLEXPORT to PG_FUNCTION_INFO_V1
Previous Message Robert Haas 2016-10-17 21:13:31 Re: Make getrusage() output a little more readable