5 ms·
It's been a while since I last used rails, but something about > A "Hello World!" in Rails takes about 1.13 seconds to render strikes me as most definitely in
by fortytw2 11y ago
It's been a while since I last used rails, but something about
> A "Hello World!" in Rails takes about 1.13 seconds to render
strikes me as most definitely incorrect... If not, I'm shocked.
- gregmolnar 11y agoThat's for a cold start. Once the application is initialized, it becomes way faster.
- dakull 11y ago>That's for a cold start. Once the application is initialized, it becomes way faster. If one uses Unicorn in production there's no such thing as a `cold start` Ruby is not the JVM lest you run JRuby or Rubinius ofc :-)
- matthewmacleod 11y agoI'm not sure that's accurate - most of Rails is lazily loaded now I believe, specifically to reduce start-up time. You can use a different strategy in production of course.
- epochwolf 11y agoBy default, Rails only does lazy loading in development mode.
- deleted 11y ago[deleted]