# Api::V1::CommonsController#last_contributions

- **Period:** 13 May 20:25 UTC – 13 May 21:25 UTC
- **Throughput**: 0.07 / min
- **Average:** 168.8 ms

## Most Impactful Sections
| Kind | Location | Avg ms | Avg calls | Impact | Command |
| ---- | -------- | -----: | --------: | -----: | ------- |
| code | app/controllers/api/v1/commons_controller.rb:105 | 72.5 | 1.0 | 42.96% | `Api::V1::CommonsController#last_contributions` |
| sql | app/models/publication_views_mapper.rb:57 | 2.28 | 20.0 | 26.96% | `BEGIN SELECT `publications`.* FROM `publications` WHERE `publications`.`id` = ?…` |
| sql | app/controllers/api/v1/api_controller.rb:17 | 1.43 | 15.0 | 12.74% | `SELECT `publication_attachments`.`id` FROM `publication_attachments` WHERE `pub…` |
| sql | app/models/concerns/attachment_resizable.rb:10 | 1.45 | 5.0 | 4.30% | `SELECT `active_storage_attachments`.* FROM `active_storage_attachments` WHERE `…` |
| sql | app/models/concerns/attachment_resizable.rb:12 | 1.44 | 4.5 | 3.85% | `SELECT `active_storage_blobs`.* FROM `active_storage_blobs` WHERE `active_stora…` |
| sql | app/models/publication_views_mapper.rb:25 | 2.2 | 2.5 | 3.26% | `SELECT `publications`.* FROM `publications` WHERE `publications`.`publishable_t…` |
| code | /var/www/oblyk/api/shared/bundle/ruby/2.6.0/gems/railties-6.0.3.6/lib/rails/engine.rb:525 | 2.75 | 1.0 | 1.63% | `Rails::Engine#call` |
| sql | app/controllers/api/v1/api_controller.rb:73 | 2.5 | 1.0 | 1.48% | `SELECT `users`.* FROM `users` WHERE `users`.`id` = ? LIMIT ?` |
| sql | app/models/publication_views_mapper.rb:64 | 1.75 | 1.0 | 1.04% | `SELECT `notifications`.* FROM `notifications` WHERE `notifications`.`notificati…` |

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