Delay loading routes for rake tasks - rubyonrails-core - Ruby on Rails Discussions

Por um escritor misterioso

Descrição

I was benchmarking a simple rake task we have that is in a more critical path, and noticed that a good portion of the time is spent on loading/initializing routes. Close to 19% of the execution is spend on routes_reloader, for a code that doesn’t use it. This seems like an obvious low ranging fruit here, as most likely rake tasks don’t need any routes and for the eventuality someone is using them, that could be optionally eager_loaded! or could be lazy loaded when using something like a url
Delay loading routes for rake tasks - rubyonrails-core - Ruby on Rails  Discussions
ruby –
Delay loading routes for rake tasks - rubyonrails-core - Ruby on Rails  Discussions
Running in Production
Delay loading routes for rake tasks - rubyonrails-core - Ruby on Rails  Discussions
Full Ruby on Rails Blog App Tutorial (Zero to Deploy on Heroku +
Delay loading routes for rake tasks - rubyonrails-core - Ruby on Rails  Discussions
Discourse as Your First Rails App
Delay loading routes for rake tasks - rubyonrails-core - Ruby on Rails  Discussions
Ruby Rogues
Delay loading routes for rake tasks - rubyonrails-core - Ruby on Rails  Discussions
Buggy Code: 10 Common Rails Programming Mistakes
Delay loading routes for rake tasks - rubyonrails-core - Ruby on Rails  Discussions
Collect Ruby on Rails Logs
Delay loading routes for rake tasks - rubyonrails-core - Ruby on Rails  Discussions
What are the pros and cons of Python and Ruby when it comes to
Delay loading routes for rake tasks - rubyonrails-core - Ruby on Rails  Discussions
NoRedInk – Ruby Threading: Some Practical Lessons
Delay loading routes for rake tasks - rubyonrails-core - Ruby on Rails  Discussions
Installing Rails on Windows (step-by-step tutorial)
Delay loading routes for rake tasks - rubyonrails-core - Ruby on Rails  Discussions
SERVICE-ORIENTED DESIGN RUBY RAILS
de por adulto (o preço varia de acordo com o tamanho do grupo)