unofficial mirror of meta@public-inbox.org
 help / color / mirror / Atom feed
* [PATCH 0/6] t/cgi.t: test speedups and cleanups
@ 2019-01-04 13:10 Eric Wong
  2019-01-04 13:10 ` [PATCH 1/6] t/cgi.t: eliminate some cruft and unnecessary tests Eric Wong
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: Eric Wong @ 2019-01-04 13:10 UTC (permalink / raw)
  To: meta

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

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2019-01-04 13:10 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-01-04 13:10 [PATCH 0/6] t/cgi.t: test speedups and cleanups Eric Wong
2019-01-04 13:10 ` [PATCH 1/6] t/cgi.t: eliminate some cruft and unnecessary tests Eric Wong
2019-01-04 13:10 ` [PATCH 2/6] t/cgi.t: remove redundant redirect check Eric Wong
2019-01-04 13:10 ` [PATCH 3/6] t/cgi.t: remove atom.xml test Eric Wong
2019-01-04 13:10 ` [PATCH 4/6] t/cgi.t: move dumb HTTP git clone/fetch tests to plack.t Eric Wong
2019-01-04 13:10 ` [PATCH 5/6] t/cgi.t: move expected failure tests to t/plack.t Eric Wong
2019-01-04 13:10 ` [PATCH 6/6] t/cgi.t: remove more redundant tests Eric Wong

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).