# Api::V1::NotificationsController#unread_count

- **Period:** 27 Jun 09:48 UTC – 27 Jun 17:01 UTC
- **Throughput**: 2.43 / min
- **Average:** 8.8 ms

## Most Impactful Sections
| Kind | Location | Avg ms | Avg calls | Impact | Command |
| ---- | -------- | -----: | --------: | -----: | ------- |
| code | app/controllers/api/v1/notifications_controller.rb:21 | 4.91 | 1.0 | 55.96% | `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.75 | 0.99 | 19.73% | `Rails::Engine#call` |
| sql | app/controllers/api/v1/notifications_controller.rb:22 | 1.32 | 0.76 | 11.39% | `SELECT COUNT(*) FROM `notifications` WHERE `notifications`.`user_id` = ? AND `n…` |
| sql | app/controllers/api/v1/api_controller.rb:64 | 1.25 | 0.76 | 10.83% | `SET NAMES utf8mb4, @@SESSION.sql_mode = CONCAT(CONCAT(@@sql_mode, ?), ?), @@SES…` |
| cache | app/controllers/api/v1/api_controller.rb:49 | 5.25 | 0.02 | 1.13% | `read write` |

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