t0016: disable Rack::Lint for speed
commit108d6afd7ff390bb594c99ba23c91163fa98d8c0
authorEric Wong <normalperson@yhbt.net>
Sat, 28 Aug 2010 06:11:45 +0000 (28 06:11 +0000)
committerEric Wong <normalperson@yhbt.net>
Sat, 28 Aug 2010 06:18:14 +0000 (28 06:18 +0000)
treedb48c5fe7a4667ce152b6df48411cccce2c25c0a
parent33eeda85248c9132366f94f1e1a83365bb33b5a7
t0016: disable Rack::Lint for speed

Rack::Lint uses String#inspect to generate assertion messages
whether or not the assertions are triggered at all.
Unfortunately String#inspect is hilariously slow under 1.9.2
when dealing with odd characters and large strings.

The performance difference is huge:

before: 1m4.386s
 after: 0m3.877s

We already have Rack::Lint enabled everywhere else, so removing
this where performance matters most shouldn't hurt us.
t/t0016-onenine-encoding-is-tricky.sh