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 047F51F51E for ; Mon, 26 Sep 2022 10:17:16 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=80x24.org; s=selector1; t=1664187436; bh=Cxbzg58cAhYPFfuIX4xValEXljG4mCPN3DF/XuaiSSM=; h=From:To:Subject:Date:From; b=RllLt7qrgnXgxfafikcvVDkLXXD9bNX0KrNbGMlWolTFVeI+mUVxhEv7nIDz1yN1T M9MMlqLEYMecsG/4MKpfiOk2ZQz6PJOhKR2yafhhsGNY/hkkDzT2eOJXIbI0GQvXlM l86L7IxvfJ/dBWf6wsBM7aWk7n0bxEEthMM8zSAQ= From: Eric Wong To: meta@public-inbox.org Subject: [PATCH 0/4] some minor performance tweaks Date: Mon, 26 Sep 2022 10:17:11 +0000 Message-Id: <20220926101715.1853-1-e@80x24.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit List-Id: There's some weird stuff cooking up that's not ready, yet... Here's a few minor tweaks which should provide benefits today, though. 1/4 should be the last major-ish memory reduction in WWW for a while. 2/4 is needed for 3/4 with libgit2, and 4/4 may prove more useful in the future... Eric Wong (4): viewdiff: save memory by eliminating two captures gcf2: support worktree $GIT_DIR viewvcs: load blobs asynchronously git: reduce early bare-bones memory use lib/PublicInbox/Gcf2.pm | 7 ++++--- lib/PublicInbox/Git.pm | 4 ++-- lib/PublicInbox/ViewDiff.pm | 18 +++++++++--------- lib/PublicInbox/ViewVCS.pm | 21 ++++++++++++++++----- 4 files changed, 31 insertions(+), 19 deletions(-)