# Api::V1::PublicationsController#create

- **Period:** 12 May 19:57 UTC – 13 May 19:57 UTC
- **Throughput**: 0.0 / min
- **Average:** 32.0 ms

## Most Impactful Sections
| Kind | Location | Avg ms | Avg calls | Impact | Command |
| ---- | -------- | -----: | --------: | -----: | ------- |
| code | app/controllers/api/v1/publications_controller.rb:113 | 17.0 | 1.0 | 53.13% | `Api::V1::PublicationsController#create` |
| sql | app/controllers/api/v1/publications_controller.rb:117 | 1.5 | 4.0 | 18.75% | `BEGIN SELECT `crags`.* FROM `crags` WHERE (`crags`.`deleted_at` IS NULL OR `cra…` |
| sql | app/models/concerns/attachment_resizable.rb:10 | 1.5 | 2.0 | 9.38% | `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.0 | 1.0 | 6.25% | `Rails::Engine#call` |
| sql | app/controllers/api/v1/api_controller.rb:64 | 1.0 | 1.0 | 3.13% | `SELECT `users`.* FROM `users` WHERE `users`.`id` = ? LIMIT ?` |
| sql | app/models/concerns/attachment_resizable.rb:12 | 1.0 | 1.0 | 3.13% | `SELECT `active_storage_blobs`.* FROM `active_storage_blobs` WHERE `active_stora…` |
| sql | app/controllers/api/v1/api_controller.rb:26 | 1.0 | 1.0 | 3.13% | `SELECT `ip_black_lists`.* FROM `ip_black_lists` WHERE (block_expired_at <= NOW(…` |
| sql | app/serializers/crag_serializer.rb:64 | 1.0 | 1.0 | 3.13% | `SELECT `photos`.* FROM `photos` WHERE `photos`.`id` = ? LIMIT ?` |

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