From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on dcvr.yhbt.net X-Spam-Level: X-Spam-ASN: X-Spam-Status: No, score=-4.1 required=3.0 tests=ALL_TRUSTED,AWL,BAYES_00, T_SCC_BODY_TEXT_LINE shortcircuit=no autolearn=ham autolearn_force=no version=3.4.6 Received: from localhost (dcvr.yhbt.net [127.0.0.1]) by dcvr.yhbt.net (Postfix) with ESMTP id 6A7731F44D for ; Mon, 12 Feb 2024 19:58:16 +0000 (UTC) Date: Mon, 12 Feb 2024 19:58:16 +0000 From: Eric Wong To: meta@public-inbox.org Subject: Re: [PATCH 1/2] viewvcs: parallelize commit display Message-ID: <20240212195816.M307182@dcvr> References: <20240212131350.3443394-1-e@80x24.org> <20240212131350.3443394-2-e@80x24.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20240212131350.3443394-2-e@80x24.org> List-Id: Eric Wong wrote: > times down to ~6s (still slow). Avoiding patch generation for > root commits (like cgit also does) brings it down to a few > hundred milliseconds on a public-facing server. Actually, the "(like cgit also does)" bit is wrong: cgit generates a full patch, 355MB worth of HTML! I got mixed up since I was testing cgit via shell script and set QUERY_STRING incorrectly :x. In any case, a 355MB HTML file isn't useful for anything but a DoS attack against clients.