# Api::V1::NotificationsController#unread_count

- **Period:** 13 May 09:30 UTC – 13 May 10:30 UTC
- **Throughput**: 3.88 / min
- **Average:** 10.5 ms

## Most Impactful Sections
| Kind | Location | Avg ms | Avg calls | Impact | Command |
| ---- | -------- | -----: | --------: | -----: | ------- |
| code | app/controllers/api/v1/notifications_controller.rb:21 | 5.4 | 1.0 | 51.70% | `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 | 2.25 | 1.0 | 21.56% | `Rails::Engine#call` |
| sql | app/controllers/api/v1/notifications_controller.rb:22 | 1.8 | 0.79 | 13.63% | `SELECT COUNT(*) FROM `notifications` WHERE `notifications`.`user_id` = ? AND `n…` |
| sql | app/controllers/api/v1/api_controller.rb:64 | 1.71 | 0.79 | 13.02% | `SELECT `users`.* FROM `users` WHERE `users`.`id` = ? LIMIT ?` |

[View on RoRvsWild ↗](https://www.rorvswild.com/applications/135627/requests/Api::V1::NotificationsController%23unread_count?range=1h)