# Api::V1::PublicationsController#index

- **Period:** 13 May 08:06 UTC – 13 May 11:06 UTC
- **Throughput**: 0.31 / min
- **Average:** 150.3 ms

## Most Impactful Sections
| Kind | Location | Avg ms | Avg calls | Impact | Command |
| ---- | -------- | -----: | --------: | -----: | ------- |
| code | app/controllers/api/v1/publications_controller.rb:15 | 69.5 | 1.0 | 46.24% | `Api::V1::PublicationsController#index` |
| sql | app/controllers/api/v1/api_controller.rb:17 | 2.92 | 12.13 | 23.57% | `SELECT `publications`.* FROM `publications` WHERE `publications`.`author_id` = …` |
| sql | app/models/publication_views_mapper.rb:25 | 3.27 | 5.86 | 12.72% | `SELECT `publications`.* FROM `publications` WHERE `publications`.`author_id` = …` |
| sql | app/models/video.rb:110 | 1.41 | 5.64 | 5.29% | `SELECT `active_storage_blobs`.* FROM `active_storage_blobs` WHERE `active_stora…` |
| sql | app/models/video.rb:107 | 1.21 | 2.82 | 2.27% | `SELECT `active_storage_attachments`.* FROM `active_storage_attachments` WHERE `…` |
| sql | app/models/publication_views_mapper.rb:57 | 1.61 | 1.86 | 1.98% | `BEGIN SELECT `publications`.* FROM `publications` WHERE `publications`.`id` = ?…` |
| sql | app/models/concerns/attachment_resizable.rb:12 | 1.25 | 2.18 | 1.82% | `SELECT `active_storage_blobs`.* FROM `active_storage_blobs` WHERE `active_stora…` |
| sql | app/models/concerns/attachment_resizable.rb:10 | 1.22 | 2.18 | 1.77% | `SELECT `active_storage_attachments`.* FROM `active_storage_attachments` WHERE `…` |
| code | /var/www/oblyk/api/shared/bundle/ruby/2.6.0/gems/railties-6.0.3.6/lib/rails/engine.rb:525 | 2.48 | 1.0 | 1.65% | `Rails::Engine#call` |

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