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 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 7DD6E1F8C7 for ; Sat, 9 Oct 2021 12:03:36 +0000 (UTC) From: Eric Wong To: meta@public-inbox.org Subject: [PATCH 0/4] WWW-related memory savings Date: Sat, 9 Oct 2021 12:03:32 +0000 Message-Id: <20211009120336.2057-1-e@80x24.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit List-Id: Some things I noticed while tracking down our own reference cycle leak and the Encode <= 3.12 memory leak. There's more aggressive stuff I'm testing, too, but I've yet to check throughput performance. Eric Wong (4): solver_git: shorten scalar lifetimes view: discard Eml->{bdy} when done using http: avoid Perl target cache for psgi.input view: save memory by dropping smsg->{from_name} on use lib/PublicInbox/HTTP.pm | 30 ++++++------------------------ lib/PublicInbox/SearchView.pm | 2 +- lib/PublicInbox/Smsg.pm | 9 +++------ lib/PublicInbox/SolverGit.pm | 8 ++++---- lib/PublicInbox/View.pm | 4 +++- 5 files changed, 17 insertions(+), 36 deletions(-)