|
code
app/controllers/api/v1/notifications_controller.rb:9
|
69%
|
app/controllers/api/v1/notifications_controller.rb:9
- Average Self
-
105ms
- Average calls
- 1x
- Total Self
- 105ms
- Total Children
- 45ms
- Total runtime
- 150ms
Api::V1::NotificationsController#index
|
|
sql
app/controllers/api/v1/api_controller.rb:17
|
15%
|
app/controllers/api/v1/api_controller.rb:17
- Average Self
-
1.3ms
- Average calls
- 17x
- Total Self
- 23ms
- Total Children
- 0ms
- Total runtime
- 23ms
SELECT `notifications`.* FROM `notifications` WHERE `notifications`.`user_id` = ? ORDER BY `notifications`.`posted_at` DESC LIMIT ? OFFSET ?
|
|
sql
app/models/notification.rb:55
|
11%
|
app/models/notification.rb:55
- Average Self
-
1ms
- Average calls
- 17x
- Total Self
- 17ms
- Total Children
- 0ms
- Total runtime
- 17ms
SELECT `comments`.* FROM `comments` WHERE `comments`.`id` = ? LIMIT ?
|
|
code
/var/www/oblyk/api/shared/bundle/ruby/2.6.0/gems/railties-6.0.3.6/lib/rails/engine.rb:525
|
2%
|
/var/www/oblyk/api/shared/bundle/ruby/2.6.0/gems/railties-6.0.3.6/lib/rails/engine.rb:525
- Average Self
-
3ms
- Average calls
- 1x
- Total Self
- 3ms
- Total Children
- 150ms
- Total runtime
- 153ms
Rails::Engine#call
|
|
sql
app/models/concerns/attachment_resizable.rb:10
|
1%
|
app/models/concerns/attachment_resizable.rb:10
- Average Self
-
1.3ms
- Average calls
- 1.5x
- Total Self
- 2ms
- Total Children
- 0ms
- Total runtime
- 2ms
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/controllers/api/v1/api_controller.rb:64
|
<1%
|
app/controllers/api/v1/api_controller.rb:64
- Average Self
-
1.5ms
- Average calls
- 1x
- Total Self
- 1.5ms
- Total Children
- 0ms
- Total runtime
- 1.5ms
SELECT `users`.* FROM `users` WHERE `users`.`id` = ? LIMIT ?
|
|
sql
app/models/concerns/attachment_resizable.rb:12
|
<1%
|
app/models/concerns/attachment_resizable.rb:12
- Average Self
-
1ms
- Average calls
- 1x
- Total Self
- 1ms
- Total Children
- 0ms
- Total runtime
- 1ms
SELECT `active_storage_blobs`.* FROM `active_storage_blobs` WHERE `active_storage_blobs`.`id` = ? LIMIT ?
|