Delay loading routes for rake tasks - rubyonrails-core - Ruby on Rails Discussions
Por um escritor misterioso
Last updated 21 setembro 2024
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
SERVICE-ORIENTED DESIGN RUBY RAILS
Mike Munroe على LinkedIn: Rails or Rake, WTH Should I Use? You
Chapter 1: From zero to deploy, Ruby on Rails Tutorial
Ruby on Railsの記事一覧|TechRacho by BPS株式会社
291: All Things Inertia.js with Jonathan Reinink – The Bike Shed
Production Code Analysis
An in-Depth Look at Basic Rails Routing — SitePoint
Production Code Analysis
Understanding Rake in Ruby. I am by no means a Rails or Ruby…
What are the pros and cons of Python and Ruby when it comes to
Discourse as Your First Rails App
PDF) Nucleus - Unified Deployment and Management for Platform as a
What's your honest Feedback about Rails? : r/rails
Single Page, Ruby on Rails Tutorial (3rd Ed.)
Testing OpenProject
Recomendado para você
você pode gostar