|
code
app/controllers/api/v1/comments_controller.rb:22
|
51%
|
app/controllers/api/v1/comments_controller.rb:22
- Average Self
-
10ms
- Average calls
- 1x
- Total Self
- 10ms
- Total Children
- 7.5ms
- Total runtime
- 17ms
Api::V1::CommentsController#comments
|
|
sql
app/controllers/api/v1/api_controller.rb:17
|
20%
|
app/controllers/api/v1/api_controller.rb:17
- Average Self
-
1.3ms
- Average calls
- 3x
- Total Self
- 4ms
- Total Children
- 0ms
- Total runtime
- 4ms
SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_type` = ? AND `comments`.`commentable_id` = ? ORDER BY `comments`.`created_at` ASC LIMIT ? OFFSET ?
|
|
code
/var/www/oblyk/api/shared/bundle/ruby/2.6.0/gems/railties-6.0.3.6/lib/rails/engine.rb:525
|
11%
|
/var/www/oblyk/api/shared/bundle/ruby/2.6.0/gems/railties-6.0.3.6/lib/rails/engine.rb:525
- Average Self
-
2.3ms
- Average calls
- 1x
- Total Self
- 2.3ms
- Total Children
- 17ms
- Total runtime
- 19ms
Rails::Engine#call
|
|
sql
app/controllers/api/v1/comments_controller.rb:115
|
8%
|
app/controllers/api/v1/comments_controller.rb:115
- Average Self
-
1.5ms
- Average calls
- 1x
- Total Self
- 1.5ms
- Total Children
- 0ms
- Total runtime
- 1.5ms
SELECT `comments`.* FROM `comments` WHERE `comments`.`id` = ? LIMIT ?
|
|
sql
app/models/concerns/attachment_resizable.rb:10
|
6%
|
app/models/concerns/attachment_resizable.rb:10
- Average Self
-
1.3ms
- Average calls
- 1x
- Total Self
- 1.3ms
- Total Children
- 0ms
- Total runtime
- 1.3ms
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
|
4%
|
app/models/concerns/attachment_resizable.rb:12
- Average Self
-
0.75ms
- Average calls
- 1x
- Total Self
- 0.75ms
- Total Children
- 0ms
- Total runtime
- 0.75ms
SELECT `active_storage_blobs`.* FROM `active_storage_blobs` WHERE `active_storage_blobs`.`id` = ? LIMIT ?
|