Bullet is a ruby gem that helps in improving performance by identifying N+1 queries, advising when to switch eager loading on or off, and when to use counter cache.
The Bullet gem is designed to help developers increase an application's performance by reducing the number of queries it makes. It will watch the queries while developing the application and notify when there is a need for eager loading (N+1 queries), when eager loading is being used unnecessarily, and when to use counter cache.
Best practice is to use Bullet in development mode or custom mode (staging, profile, etc.)