From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on dcvr.yhbt.net X-Spam-Level: X-Spam-ASN: X-Spam-Status: No, score=-4.2 required=3.0 tests=ALL_TRUSTED,BAYES_00, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF shortcircuit=no autolearn=ham autolearn_force=no version=3.4.2 Received: from localhost (dcvr.yhbt.net [127.0.0.1]) by dcvr.yhbt.net (Postfix) with ESMTP id 73AE21F54E for ; Wed, 3 Aug 2022 20:03:57 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=80x24.org; s=selector1; t=1659557037; bh=h775YypKtt/ehQOOtUQszX/TuhI7M/Dadi73SpW5upE=; h=From:To:Subject:Date:From; b=n15vaKFx7eb6t5pxD7NFSuC+xP6WLSkqb/nDa6UZGa1/Xdgbke4Cn+FUcPvGGv2v7 d3lDbiU3/W7o/Aw8iUdPS7T+IwWpTnjLU617PntN57MD4gFt+/FxWho6iV5EXsJSt5 d6gpbJtOqOQ2WFgNtJYueEeFBS9WLJUxCNl6QQF0= From: Eric Wong To: meta@public-inbox.org Subject: [PATCH 0/4] use ALL to speedup -nntpd and -imapd Date: Wed, 3 Aug 2022 20:03:53 +0000 Message-Id: <20220803200357.1322670-1-e@80x24.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit List-Id: Just a normal "public-inbox-extindex --all" invocation should be enough to trigger these optimizations, no --reindex necessary. -imapd startup is around ~3x faster, NNTP LIST is ~40x faster. Eric Wong (4): nntpd: do not delete newsgroup name from inbox object miscidx: index inbox min/max article numbers nntp: speed up group listings via ->ALL->misc imapd: use nntpd_cache to speed up startup/reload time lib/PublicInbox/IMAP.pm | 17 +++--- lib/PublicInbox/IMAPD.pm | 100 +++++++++++----------------------- lib/PublicInbox/Inbox.pm | 10 ++++ lib/PublicInbox/MiscIdx.pm | 8 ++- lib/PublicInbox/MiscSearch.pm | 21 ++++--- lib/PublicInbox/Msgmap.pm | 12 ++-- lib/PublicInbox/NNTP.pm | 26 ++++++--- lib/PublicInbox/NNTPD.pm | 1 - lib/PublicInbox/Search.pm | 3 +- 9 files changed, 96 insertions(+), 102 deletions(-)