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.0 required=3.0 tests=ALL_TRUSTED,BAYES_00, URIBL_BLOCKED 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 586C61F462 for ; Thu, 30 May 2019 06:52:27 +0000 (UTC) From: Eric Wong To: meta@public-inbox.org Subject: [PATCH 0/4] v2writable: speedup no-op -index invocation Date: Thu, 30 May 2019 06:52:23 +0000 Message-Id: <20190530065227.17641-1-e@80x24.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit List-Id: `public-inbox-index' was doing unnecessary work in no-op situations (after "git fetch") and takes several seconds on v2 repos. On my dinky laptop, this allows a no-op -index on lore.kernel.org/lkml to go from ~8s to ~0.4s Eric Wong (4): v2writable: split off unindex_range mapping v2writable: hoist out index_epoch sub v2writable: avoid mm_tmp creation without regen v2writable: short-circuit is_ancestor check on equality lib/PublicInbox/V2Writable.pm | 92 +++++++++++++++++++++++------------ 1 file changed, 61 insertions(+), 31 deletions(-) -- EW