[PATCH] www: speed up global manifest.js.gz w/ "all" extindex

2024-04-08 Thread Eric Wong
By reducing internal event loop iterations, this brings 300+ inboxes down ~32ms to ~27ms. It should also be more consistent on servers with busy event loops since all the Xapian DB traffic happens at once, theoretically mproving cache utilization. --- lib/PublicInbox/ConfigIter.pm | 7 +++

[RFT] syscall: set default constants for Inline::C platforms

2024-04-08 Thread Eric Wong
Gaelan Steele wrote: > Unfortunately this patch broke public-inbox on Darwin: > > Bareword "SIZEOF_cmsghdr" not allowed while "strict subs" in use at > /tmp/public-inbox/lib/PublicInbox/Syscall.pm line 456. > BEGIN not safe after errors--compilation aborted at >

Re: [RFT] syscall: set default constants for Inline::C platforms

2024-04-08 Thread Eric Wong
Gaelan Steele wrote: > > > On Apr 8, 2024, at 10:48 AM, Eric Wong wrote: > > > >> I’m not enough of a Perl person to fully untangle this. As > >> best I can tell, the intent is that non-Linux/BSD OSes should > >> still work with Inline::C, but this doesn’t work in practice > >> due to a bug? > >

Re: [RFT] syscall: set default constants for Inline::C platforms

2024-04-08 Thread Gaelan Steele
> On Apr 8, 2024, at 10:48 AM, Eric Wong wrote: > >> I’m not enough of a Perl person to fully untangle this. As >> best I can tell, the intent is that non-Linux/BSD OSes should >> still work with Inline::C, but this doesn’t work in practice >> due to a bug? > > Right. Patch below should fix

Re: sample robots.txt to reduce WWW load

2024-04-08 Thread Eric Wong
Eric Wong wrote: > I've unleashed the bots again and let them run rampant on the > https://80x24.org/lore/ HTML pages. Will need to add malloc > tracing on my own to generate reproducible results to prove it's > worth adding to glibc malloc... Unfortunately, mwrap w/ tracing is expensive enough