From 108d6afd7ff390bb594c99ba23c91163fa98d8c0 Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Sat, 28 Aug 2010 06:11:45 +0000 Subject: 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 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/t/t0016-onenine-encoding-is-tricky.sh b/t/t0016-onenine-encoding-is-tricky.sh index 8757e43..07ebcee 100755 --- a/t/t0016-onenine-encoding-is-tricky.sh +++ b/t/t0016-onenine-encoding-is-tricky.sh @@ -4,7 +4,7 @@ t_plan 4 "proper handling of onenine encoding for $model" t_begin "setup and startup" && { rainbows_setup $model - rainbows -D ./t0016.rb -c $unicorn_config + rainbows -E none -D ./t0016.rb -c $unicorn_config rainbows_wait_start expect_sha1=8ff79d8115f9fe38d18be858c66aa08a1cc27a66 } -- cgit v1.2.3-24-ge0c7