Bootsnap: Optimizing Ruby App Boot Time
I'm kinda shocked that Ruby boot times can be up to 25 seconds for a monolithic app.<p>A Python project I work on has 279,124 lines of code and boots up in 2.5 seconds.<p>Without downloading it, all I can find is Discourse had 60,000 lines of code 3 years ago [1]. Assuming as an extreme estimate they tripled their code size in 3 years, we have 180,000 LOC taking 6 seconds to boot up according to the article.<p>Is this normal for Ruby? Is the author using a spinning disk drive rather than an SSD?<p>[1] <a href="https://github.com/bleonard/rails_stats" rel="nofollow">https://github.com/bleonard/rails_stats</a>