|
code
app/controllers/api/v1/publications_controller.rb:51
|
52%
|
app/controllers/api/v1/publications_controller.rb:51
- Average Self
-
6.2ms
- Average calls
- 1x
- Total Self
- 6.2ms
- Total Children
- 3.3ms
- Total runtime
- 9.4ms
Api::V1::PublicationsController#drafts
|
|
code
/var/www/oblyk/api/shared/bundle/ruby/2.6.0/gems/railties-6.0.3.6/lib/rails/engine.rb:525
|
21%
|
/var/www/oblyk/api/shared/bundle/ruby/2.6.0/gems/railties-6.0.3.6/lib/rails/engine.rb:525
- Average Self
-
2.5ms
- Average calls
- 1x
- Total Self
- 2.5ms
- Total Children
- 9.4ms
- Total runtime
- 11ms
Rails::Engine#call
|
|
sql
app/controllers/api/v1/api_controller.rb:17
|
13%
|
app/controllers/api/v1/api_controller.rb:17
- Average Self
-
1.7ms
- Average calls
- 0.94x
- Total Self
- 1.6ms
- Total Children
- 0ms
- Total runtime
- 1.6ms
SELECT `publications`.* FROM `publications` WHERE `publications`.`publishable_type` = ? AND `publications`.`publishable_id` = ? AND `publications`.`published_at` IS NULL AND `publications`.`author_id` = ? ORDER BY `publications`.`last_updated_at` DESC, `publications`.`id` DESC
|
|
sql
app/controllers/api/v1/api_controller.rb:64
|
13%
|
app/controllers/api/v1/api_controller.rb:64
- Average Self
-
1.7ms
- Average calls
- 0.94x
- Total Self
- 1.6ms
- Total Children
- 0ms
- Total runtime
- 1.6ms
SET NAMES utf8mb4, @@SESSION.sql_mode = CONCAT(CONCAT(@@sql_mode, ?), ?), @@SESSION.sql_auto_is_null = ?, @@SESSION.wait_timeout = ?
|
|
sql
app/controllers/api/v1/publications_controller.rb:66
|
<1%
|
app/controllers/api/v1/publications_controller.rb:66
- Average Self
-
1.9ms
- Average calls
- 0.02x
- Total Self
- 0.03ms
- Total Children
- 0ms
- Total runtime
- 0.03ms
SELECT `gyms`.* FROM `gyms` WHERE (`gyms`.`deleted_at` IS NULL OR `gyms`.`deleted_at` > ?) AND `gyms`.`id` = ? LIMIT ?
|
|
sql
app/controllers/concerns/gym_roles_verification.rb:13
|
<1%
|
app/controllers/concerns/gym_roles_verification.rb:13
- Average Self
-
1.3ms
- Average calls
- 0.02x
- Total Self
- 0.02ms
- Total Children
- 0ms
- Total runtime
- 0.02ms
SELECT ? AS one FROM `gym_administrators` WHERE `gym_administrators`.`gym_id` = ? AND `gym_administrators`.`user_id` = ? LIMIT ?
|
|
sql
app/models/concerns/attachment_resizable.rb:10
|
<1%
|
app/models/concerns/attachment_resizable.rb:10
- Average Self
-
2ms
- Average calls
- <0.01x
- Total Self
- <0.01ms
- Total Children
- 0ms
- Total runtime
- <0.01ms
SELECT `active_storage_attachments`.* FROM `active_storage_attachments` WHERE `active_storage_attachments`.`record_id` = ? AND `active_storage_attachments`.`record_type` = ? AND `active_storage_attachments`.`name` = ? LIMIT ?
|
|
sql
app/models/concerns/attachment_resizable.rb:12
|
<1%
|
app/models/concerns/attachment_resizable.rb:12
- Average Self
-
1ms
- Average calls
- <0.01x
- Total Self
- <0.01ms
- Total Children
- 0ms
- Total runtime
- <0.01ms
SELECT `active_storage_blobs`.* FROM `active_storage_blobs` WHERE `active_storage_blobs`.`id` = ? LIMIT ?
|