|
code
app/controllers/api/v1/notifications_controller.rb:9
|
82%
|
app/controllers/api/v1/notifications_controller.rb:9
- Average Self
-
80ms
- Average calls
- 1x
- Total Self
- 80ms
- Total Children
- 15ms
- Total runtime
- 95ms
Api::V1::NotificationsController#index
|
|
sql
app/controllers/api/v1/api_controller.rb:17
|
7%
|
app/controllers/api/v1/api_controller.rb:17
- Average Self
-
1.3ms
- Average calls
- 5.7x
- Total Self
- 7.2ms
- Total Children
- 0ms
- Total runtime
- 7.2ms
SELECT `notifications`.* FROM `notifications` WHERE `notifications`.`user_id` = ? ORDER BY `notifications`.`posted_at` DESC LIMIT ? OFFSET ?
|
|
sql
app/models/concerns/attachment_resizable.rb:10
|
4%
|
app/models/concerns/attachment_resizable.rb:10
- Average Self
-
1ms
- Average calls
- 3.7x
- Total Self
- 3.8ms
- Total Children
- 0ms
- Total runtime
- 3.8ms
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
|
3%
|
app/models/concerns/attachment_resizable.rb:12
- Average Self
-
0.83ms
- Average calls
- 3.3x
- Total Self
- 2.7ms
- Total Children
- 0ms
- Total runtime
- 2.7ms
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.7ms
- Average calls
- 1x
- Total Self
- 1.7ms
- Total Children
- 95ms
- Total runtime
- 97ms
Rails::Engine#call
|
|
sql
app/controllers/api/v1/api_controller.rb:64
|
1%
|
app/controllers/api/v1/api_controller.rb:64
- Average Self
-
1.2ms
- Average calls
- 1x
- Total Self
- 1.2ms
- Total Children
- 0ms
- Total runtime
- 1.2ms
SET NAMES utf8mb4, @@SESSION.sql_mode = CONCAT(CONCAT(@@sql_mode, ?), ?), @@SESSION.sql_auto_is_null = ?, @@SESSION.wait_timeout = ?
|
|
sql
app/models/notification.rb:55
|
<1%
|
app/models/notification.rb:55
- Average Self
-
0.73ms
- Average calls
- 0.65x
- Total Self
- 0.48ms
- Total Children
- 0ms
- Total runtime
- 0.48ms
SELECT `comments`.* FROM `comments` WHERE `comments`.`id` = ? LIMIT ?
|