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 C23361F803 for ; Fri, 4 Jan 2019 13:10:40 +0000 (UTC) From: Eric Wong To: meta@public-inbox.org Subject: [PATCH 0/6] t/cgi.t: test speedups and cleanups Date: Fri, 4 Jan 2019 13:10:32 +0000 Message-Id: <20190104131038.32233-1-e@80x24.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit List-Id: While we relied on CGI.pm early in the project, we've moved onto PSGI and relied on PSGI for providing CGI compatibility. Thus, most of our CGI-based tests are redundant and Perl startup overhead is painful. On my system, this cuts the t/cgi.t from 4.4s to 1.8s for a nice improvement. Moving some tests to t/plack.t did not increase runtimes in a meaningful way. Eric Wong (6): t/cgi.t: eliminate some cruft and unnecessary tests t/cgi.t: remove redundant redirect check t/cgi.t: remove atom.xml test t/cgi.t: move dumb HTTP git clone/fetch tests to plack.t t/cgi.t: move expected failure tests to t/plack.t t/cgi.t: remove more redundant tests t/cgi.t | 105 ++++++++---------------------------------------------- t/plack.t | 43 ++++++++++++++++++++-- 2 files changed, 54 insertions(+), 94 deletions(-) -- EW