Re: [PATCH 1/2] viewvcs: parallelize commit display

2024-02-12 Thread Eric Wong
Eric Wong wrote: > times down to ~6s (still slow). Avoiding patch generation for > root commits (like cgit also does) brings it down to a few > hundred milliseconds on a public-facing server. Actually, the "(like cgit also does)" bit is wrong: cgit generates a full patch, 355MB worth of HTML!

[PATCH 1/2] viewvcs: parallelize commit display

2024-02-12 Thread Eric Wong
Similar to commit cbe2548c91859dfb923548ea85d8531b90d53dc3 (www_coderepo: use OnDestroy to render summary view, 2023-04-09), we can rely on OnDestroy and Qspawn to run dependencies in a structured way and with some extra parallelism for SMP users. Perl (as opposed to POSIX sh) allows us to easily