# Api::V1::NotificationsController#unread_count

- **Period:** 13 May 10:33 UTC – 13 May 11:03 UTC
- **Throughput**: 3.2 / min
- **Average:** 11.9 ms

## Most Impactful Sections
| Kind | Location | Avg ms | Avg calls | Impact | Command |
| ---- | -------- | -----: | --------: | -----: | ------- |
| code | app/controllers/api/v1/notifications_controller.rb:21 | 6.74 | 1.0 | 56.41% | `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.17 | 1.0 | 18.13% | `Rails::Engine#call` |
| sql | app/controllers/api/v1/notifications_controller.rb:22 | 1.91 | 0.82 | 13.16% | `SELECT COUNT(*) FROM `notifications` WHERE `notifications`.`user_id` = ? AND `n…` |
| sql | app/controllers/api/v1/api_controller.rb:64 | 1.77 | 0.82 | 12.21% | `SELECT `users`.* FROM `users` WHERE `users`.`id` = ? LIMIT ?` |

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