rails-mini-profiler
Coverband
rails-mini-profiler | Coverband | |
---|---|---|
7 | 6 | |
404 | 2,389 | |
- | - | |
5.8 | 8.8 | |
about 2 months ago | 4 days ago | |
Ruby | Ruby | |
MIT License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
rails-mini-profiler
- Enabling Hotwire/Turbo in Rails7 from upgraded repo
-
How do you find the cause of slowness in your app?
I'd suggest checking out - https://github.com/hschne/rails-mini-profiler As well as checking and monitoring your log for N+1's, usually that's an applications largest performance bottleneck.
-
gem suggestion for measuring performance
You may want to look at rails-mini-profiler it kind of piggy backs off rack-mini-profiler and is pretty decent for getting basic application metrics in development.
-
newly converted from php and laravel and i miss this tool !!
https://github.com/hschne/rails-mini-profiler is pretty close
-
Top 8 Tools for Ruby on Rails Code Optimization and Cleanup.
I'd add Coverband. Also, since you mention rack-mini-profiler, quick plug for rails-mini-profiler, which is my own spin on performance profiling for rails apps. Still WIP though.
- Rails Mini Profiler: Performance profiling for Rails, made simple 🦔
- Rails Mini Profiler: A Rails engine for easy performance profiling
Coverband
-
Dead code or unused code removal in ruby on rails.
Try https://github.com/danmayer/coverband
- How do I find all callbacks that could be executed before a controller action.
-
Gem for visualizing executed code
Interesting idea! Not the same thing, but it reminded me quite a bit of Coverband
-
How to Improve Code Quality on a Ruby on Rails Application
Find dead code with Coverband, which can be run in production.
-
Ruby's Got You Covered
There are many tools for measuring test coverage, but one is SimpleCov. It also supports branches coverage. To measure coverage of production code, check out Coverband, which you can set up to use oneshot lines mode.
-
Top 8 Tools for Ruby on Rails Code Optimization and Cleanup.
I'd add Coverband. Also, since you mention rack-mini-profiler, quick plug for rails-mini-profiler, which is my own spin on performance profiling for rails apps. Still WIP though.
What are some alternatives?
asset_ram - Reduce Rails allocations by 35%+ and gain a speed boost. Memoizes asset links.
SimpleCov - Code coverage for Ruby with a powerful configuration library and automatic merging of coverage across test suites
Rails Performance - Monitor performance of you Rails applications (self-hosted and free)
Scientist - :microscope: A Ruby library for carefully refactoring critical paths.
prosopite - :mag: Rails N+1 queries auto-detection with zero false positives / false negatives
MetricFu - A fist full of code metrics
MailCatcher - Catches mail and serves it through a dream.
Reek - Code smell detector for Ruby
Karafka - Ruby and Rails efficient multithreaded Kafka processing framework
bundler-leak - Known-leaky gems verification for bundler: `bundle leak` to check your app and find leaky gems in your Gemfile :gem::droplet:
factory_bot - A library for setting up Ruby objects as test data.
Traceroute - A Rake task gem that helps you find the unused routes and controller actions for your Rails 3+ app