Re: Performance of computing cross derivations

2024-01-11 Thread Efraim Flashner
On Thu, Jan 11, 2024 at 01:26:35PM +, Christopher Baines wrote: > > Ludovic Courtès writes: > > > Christopher Baines skribis: > > > >> I think you're right, while I send some other changes in #68266, I think > >> it's this change around make-rust-sysroot that has pretty much all the > >> ef

Re: Performance of computing cross derivations

2024-01-11 Thread Christopher Baines
Ludovic Courtès writes: > Christopher Baines skribis: > >> I think you're right, while I send some other changes in #68266, I think >> it's this change around make-rust-sysroot that has pretty much all the >> effects on performance. >> >> I think the tens of thousands of duplicated packages fro

Re: Performance of computing cross derivations

2024-01-11 Thread Ludovic Courtès
Hi, Christopher Baines skribis: > I think you're right, while I send some other changes in #68266, I think > it's this change around make-rust-sysroot that has pretty much all the > effects on performance. > > I think the tens of thousands of duplicated packages from cross-base > that I was look

Re: Performance of computing cross derivations

2024-01-10 Thread Christopher Baines
Efraim Flashner writes: > [[PGP Signed Part:Signature made by expired key 41AAE7DCCA3D8351 Efraim > Flashner ]] > On Fri, Jan 05, 2024 at 04:41:14PM +, Christopher Baines wrote: >> >> Ludovic Courtès writes: >> >> > Hi, >> > >> > Christopher Baines skribis: >> > >> >> When asked by the

Re: Performance of computing cross derivations

2024-01-08 Thread Efraim Flashner
On Fri, Jan 05, 2024 at 04:41:14PM +, Christopher Baines wrote: > > Ludovic Courtès writes: > > > Hi, > > > > Christopher Baines skribis: > > > >> When asked by the data service, it seems to take Guix around 3 minutes > >> to compute cross derivations for all packages (to a single > >> targ

Re: Performance of computing cross derivations

2024-01-05 Thread Christopher Baines
Ludovic Courtès writes: > Hi, > > Christopher Baines skribis: > >> When asked by the data service, it seems to take Guix around 3 minutes >> to compute cross derivations for all packages (to a single >> target). Here's a simple script that replicates this: ... > One idiom that defeats caching

Re: Performance of computing cross derivations

2023-11-16 Thread Ludovic Courtès
Hi, Christopher Baines skribis: > When asked by the data service, it seems to take Guix around 3 minutes > to compute cross derivations for all packages (to a single > target). Here's a simple script that replicates this: To understand the cost of computing a package’s derivation, I generally s

Performance of computing cross derivations

2023-10-30 Thread Christopher Baines
Hey! When asked by the data service, it seems to take Guix around 3 minutes to compute cross derivations for all packages (to a single target). Here's a simple script that replicates this: (use-modules (srfi srfi-34) (gnu packages) (guix grafts) (gui