Report runtimes in pg_upgrade verbose mode

2024-06-19 Thread Daniel Gustafsson
When doing performance hacking on pg_upgrade it's often important to see individual runtimes to isolate changes. I've written versions of the attached patch numerous times, and I wouldn't be surprised if others have done the same. Is there any interest in adding something like the attached to pg_u

Re: Report runtimes in pg_upgrade verbose mode

2024-06-19 Thread Nathan Bossart
On Wed, Jun 19, 2024 at 04:50:59PM +0200, Daniel Gustafsson wrote: > When doing performance hacking on pg_upgrade it's often important to see > individual runtimes to isolate changes. I've written versions of the attached > patch numerous times, and I wouldn't be surprised if others have done the

Re: Report runtimes in pg_upgrade verbose mode

2024-06-19 Thread Daniel Gustafsson
> On 19 Jun 2024, at 17:09, Nathan Bossart wrote: > I've been using 'ts -i' as Peter suggested Oh nice, I had forgotten about that one, thanks for the reminder! -- Daniel Gustafsson