# Api::V1::PublicationsController#index

- **Period:** 13 May 05:06 UTC – 13 May 11:06 UTC
- **Throughput**: 0.28 / min
- **Average:** 138.8 ms

## Most Impactful Sections
| Kind | Location | Avg ms | Avg calls | Impact | Command |
| ---- | -------- | -----: | --------: | -----: | ------- |
| code | app/controllers/api/v1/publications_controller.rb:15 | 64.47 | 1.0 | 46.46% | `Api::V1::PublicationsController#index` |
| sql | app/controllers/api/v1/api_controller.rb:17 | 2.86 | 11.26 | 23.20% | `SELECT `publications`.* FROM `publications` WHERE `publications`.`author_id` = …` |
| sql | app/models/publication_views_mapper.rb:25 | 3.79 | 5.22 | 14.25% | `SELECT `publications`.* FROM `publications` WHERE `publications`.`author_id` = …` |
| sql | app/models/video.rb:110 | 1.41 | 4.12 | 4.20% | `SELECT `active_storage_blobs`.* FROM `active_storage_blobs` WHERE `active_stora…` |
| sql | app/models/publication_views_mapper.rb:57 | 1.63 | 1.62 | 1.91% | `BEGIN SELECT `publications`.* FROM `publications` WHERE `publications`.`id` = ?…` |
| sql | app/models/video.rb:107 | 1.27 | 2.06 | 1.89% | `SELECT `active_storage_attachments`.* FROM `active_storage_attachments` WHERE `…` |
| sql | app/models/concerns/attachment_resizable.rb:10 | 1.18 | 2.15 | 1.82% | `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.51 | 1.0 | 1.81% | `Rails::Engine#call` |
| sql | app/models/concerns/attachment_resizable.rb:12 | 1.13 | 2.15 | 1.75% | `SELECT `active_storage_blobs`.* FROM `active_storage_blobs` WHERE `active_stora…` |

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