# Api::V1::NotificationsController#read_all

- **Period:** 12 May 23:04 UTC – 13 May 11:04 UTC
- **Throughput**: 0.0 / min
- **Average:** 16.3 ms

## Most Impactful Sections
| Kind | Location | Avg ms | Avg calls | Impact | Command |
| ---- | -------- | -----: | --------: | -----: | ------- |
| code | app/controllers/api/v1/notifications_controller.rb:30 | 7.33 | 1.0 | 44.90% | `Api::V1::NotificationsController#read_all` |
| code | /var/www/oblyk/api/shared/bundle/ruby/2.6.0/gems/railties-6.0.3.6/lib/rails/engine.rb:525 | 2.0 | 1.0 | 12.24% | `Rails::Engine#call` |
| sql | app/models/concerns/readable.rb:20 | 2.0 | 1.0 | 12.24% | `BEGIN UPDATE `notifications` SET `notifications`.`read_at` = ?, `notifications`…` |
| sql | app/controllers/api/v1/api_controller.rb:26 | 1.67 | 1.0 | 10.20% | `SELECT `ip_black_lists`.* FROM `ip_black_lists` WHERE (block_expired_at <= NOW(…` |
| sql | app/controllers/api/v1/api_controller.rb:64 | 1.33 | 1.0 | 8.16% | `SELECT `users`.* FROM `users` WHERE `users`.`id` = ? LIMIT ?` |
| sql | app/controllers/api/v1/notifications_controller.rb:31 | 1.33 | 1.0 | 8.16% | `SELECT `notifications`.* FROM `notifications` WHERE `notifications`.`user_id` =…` |
| sql | app/models/notification.rb:100 | 2.0 | 0.33 | 4.08% | `SELECT COUNT(*) FROM `notifications` WHERE `notifications`.`user_id` = ? AND `n…` |

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