|
code
app/controllers/api/v1/notifications_controller.rb:9
|
76%
|
app/controllers/api/v1/notifications_controller.rb:9
- Average Self
-
69ms
- Average calls
- 1x
- Total Self
- 69ms
- Total Children
- 20ms
- Total runtime
- 90ms
Api::V1::NotificationsController#index
|
|
sql
app/controllers/api/v1/api_controller.rb:17
|
10%
|
app/controllers/api/v1/api_controller.rb:17
- Average Self
-
1.1ms
- Average calls
- 8.9x
- Total Self
- 9.6ms
- Total Children
- 0ms
- Total runtime
- 9.6ms
SELECT `notifications`.* FROM `notifications` WHERE `notifications`.`user_id` = ? ORDER BY `notifications`.`posted_at` DESC LIMIT ? OFFSET ?
|
|
sql
app/models/concerns/attachment_resizable.rb:10
|
5%
|
app/models/concerns/attachment_resizable.rb:10
- Average Self
-
0.98ms
- Average calls
- 4.3x
- Total Self
- 4.2ms
- Total Children
- 0ms
- Total runtime
- 4.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/models/notification.rb:55
|
3%
|
app/models/notification.rb:55
- Average Self
-
0.69ms
- Average calls
- 4.2x
- Total Self
- 2.9ms
- Total Children
- 0ms
- Total runtime
- 2.9ms
SELECT `comments`.* FROM `comments` WHERE `comments`.`id` = ? LIMIT ?
|
|
sql
app/models/concerns/attachment_resizable.rb:12
|
3%
|
app/models/concerns/attachment_resizable.rb:12
- Average Self
-
0.8ms
- Average calls
- 3.4x
- Total Self
- 2.8ms
- Total Children
- 0ms
- Total runtime
- 2.8ms
SELECT `active_storage_blobs`.* FROM `active_storage_blobs` WHERE `active_storage_blobs`.`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
-
1.9ms
- Average calls
- 1x
- Total Self
- 1.9ms
- Total Children
- 90ms
- Total runtime
- 92ms
Rails::Engine#call
|
|
sql
app/controllers/api/v1/api_controller.rb:64
|
1%
|
app/controllers/api/v1/api_controller.rb:64
- Average Self
-
1.1ms
- Average calls
- 0.97x
- Total Self
- 1.1ms
- Total Children
- 0ms
- Total runtime
- 1.1ms
SET NAMES utf8mb4, @@SESSION.sql_mode = CONCAT(CONCAT(@@sql_mode, ?), ?), @@SESSION.sql_auto_is_null = ?, @@SESSION.wait_timeout = ?
|