Hacker News new | past | comments | ask | show | jobs | submit login

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.




That's for a cold start. Once the application is initialized, it becomes way faster.


>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 :-)


I'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.


By default, Rails only does lazy loading in development mode.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: