Our great sponsors
-
InfluxDB
Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
This is good advice, it'll likely pick out some glaring issues right away. I would generally recommend looking at DB queries here too and recommend Bullet, but most software like DataDog, AppSignal etc will often also point N+1 and issues like it out.
I also like using the flamegraph gem (https://github.com/SamSaffron/flamegraph).
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.
NOTE:
The number of mentions on this list indicates mentions on common posts plus user suggested alternatives.
Hence, a higher number means a more popular project.