Forum: Ruby on Rails routes.rb bad performance

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
on 2007-05-26 12:48
(Received via mailing list)
My config/routes.rb is about 200 lines.

I do some experiment with two different routes.rb,
a) routes.rb with 200 lines, and
b) routes.rb with only one line ( map.connect

and the result,

a) takes 0.4s, and
b) takes 1.7s

My routes.rb is not very complicated, just some string matching like
map.connect 'user/:username/home/:action/:id' , :controller =>
but I really need those routes setting.

Any idea how to improve the performance?
This topic is locked and can not be replied to.