rails-mini-profiler
io_monitor
rails-mini-profiler | io_monitor | |
---|---|---|
7 | 1 | |
404 | 187 | |
- | - | |
5.8 | 1.6 | |
about 2 months ago | about 1 year 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
io_monitor
-
Gem that detects possible memory leaks early
Memory leak happens when application tries to load a lot of things to the memory and holds them, so garbadge collector cannot collect objects untill request is fully served. When Ruby virtual machine gets memory from the operating system it won't be able to return it back because of the page fragmentation, so your monitoring will show that application took a lot and stopped somewhere.[io_monitor](https://github.com/DmitryTsepelev/io_monitor) tracks the amount of memory consumed when data was loaded from various IO–sources (currently—from the network and the database), compares it with the response size and sends the warning to the logs when the ratio is bigger than expected:
What are some alternatives?
Coverband - Ruby production code coverage collection and reporting (line of code usage)
rails-brotli-cache - Drop-in enhancement for Rails cache, offering better performance and compression with Brotli algorithm
asset_ram - Reduce Rails allocations by 35%+ and gain a speed boost. Memoizes asset links.
Rails Performance - Monitor performance of you Rails applications (self-hosted and free)
prosopite - :mag: Rails N+1 queries auto-detection with zero false positives / false negatives
QueryTrack - Find time-consuming database queries for ActiveRecord-based Rails Apps
MailCatcher - Catches mail and serves it through a dream.
DatabaseConsistency - The tool to avoid various issues due to inconsistencies and inefficiencies between a database schema and application models.
Karafka - Ruby and Rails efficient multithreaded Kafka processing framework
active_record_doctor - Identify database issues before they hit production.