about summary refs log tree commit homepage
path: root/lib/rainbows/event_machine.rb
diff options
context:
space:
mode:
authorEric Wong <normalperson@yhbt.net>2010-08-28 06:11:45 +0000
committerEric Wong <normalperson@yhbt.net>2010-08-28 06:18:14 +0000
commit108d6afd7ff390bb594c99ba23c91163fa98d8c0 (patch)
treedb48c5fe7a4667ce152b6df48411cccce2c25c0a /lib/rainbows/event_machine.rb
parent33eeda85248c9132366f94f1e1a83365bb33b5a7 (diff)
downloadrainbows-108d6afd7ff390bb594c99ba23c91163fa98d8c0.tar.gz
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.
Diffstat (limited to 'lib/rainbows/event_machine.rb')
0 files changed, 0 insertions, 0 deletions