Re: initdb caching during tests - Mailing list pgsql-hackers

From Tom Lane
Subject Re: initdb caching during tests
Date
Msg-id 4155954.1691269118@sss.pgh.pa.us
Whole thread Raw
In response to initdb caching during tests  (Andres Freund <andres@anarazel.de>)
Responses Re: initdb caching during tests
List pgsql-hackers
Andres Freund <andres@anarazel.de> writes:
> Times for running all tests under meson, on my workstation (20 cores / 40
> threads):

> cassert build -O2:

> Before:
> real    0m44.638s
> user    7m58.780s
> sys    2m48.773s

> After:
> real    0m38.938s
> user    2m37.615s
> sys    2m0.570s

Impressive results.  Even though your bottom-line time doesn't change that
much, the big reduction in CPU time should translate to a nice speedup
on slower buildfarm animals.

(Disclaimer: I've not read the patch.)

            regards, tom lane



pgsql-hackers by date:

Previous
From: Andres Freund
Date:
Subject: ci: Improve macos startup using a cached macports installation
Next
From: Andres Freund
Date:
Subject: Re: initdb caching during tests