# Api::V1::NotificationsController#unread_count

- **Period:** 26 Jun 20:16 UTC – 27 Jun 09:48 UTC
- **Throughput**: 0.97 / min
- **Average:** 9.6 ms

## Most Impactful Sections
| Kind | Location | Avg ms | Avg calls | Impact | Command |
| ---- | -------- | -----: | --------: | -----: | ------- |
| code | app/controllers/api/v1/notifications_controller.rb:21 | 5.72 | 1.0 | 59.26% | `Api::V1::NotificationsController#unread_count` |
| code | /var/www/oblyk/api/shared/bundle/ruby/2.6.0/gems/railties-6.0.3.6/lib/rails/engine.rb:525 | 1.73 | 1.0 | 17.91% | `Rails::Engine#call` |
| sql | app/controllers/api/v1/notifications_controller.rb:22 | 1.51 | 0.75 | 11.70% | `SELECT COUNT(*) FROM `notifications` WHERE `notifications`.`user_id` = ? AND `n…` |
| sql | app/controllers/api/v1/api_controller.rb:64 | 1.21 | 0.76 | 9.53% | `SET NAMES utf8mb4, @@SESSION.sql_mode = CONCAT(CONCAT(@@sql_mode, ?), ?), @@SES…` |
| cache | app/controllers/api/v1/api_controller.rb:49 | 25.75 | 0.01 | 1.36% | `read write` |

[View on RoRvsWild ↗](https://www.rorvswild.com/applications/135627/requests/Api::V1::NotificationsController%23unread_count?range=2026-06-26+20%3A16%3A09+UTC..2026-06-27+09%3A48%3A53+UTC)