|
code
app/controllers/api/v1/notifications_controller.rb:21
|
48%
|
app/controllers/api/v1/notifications_controller.rb:21
- Average Self
-
4.6ms
- Average calls
- 1x
- Total Self
- 4.6ms
- Total Children
- 2.9ms
- Total runtime
- 7.5ms
Api::V1::NotificationsController#unread_count
|
|
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
-
2ms
- Average calls
- 1x
- Total Self
- 2ms
- Total Children
- 7.5ms
- Total runtime
- 9.5ms
Rails::Engine#call
|
|
sql
app/controllers/api/v1/api_controller.rb:64
|
17%
|
app/controllers/api/v1/api_controller.rb:64
- Average Self
-
2ms
- Average calls
- 0.78x
- Total Self
- 1.6ms
- Total Children
- 0ms
- Total runtime
- 1.6ms
SELECT `users`.* FROM `users` WHERE `users`.`id` = ? LIMIT ?
|
|
sql
app/controllers/api/v1/notifications_controller.rb:22
|
14%
|
app/controllers/api/v1/notifications_controller.rb:22
- Average Self
-
1.7ms
- Average calls
- 0.78x
- Total Self
- 1.3ms
- Total Children
- 0ms
- Total runtime
- 1.3ms
SELECT COUNT(*) FROM `notifications` WHERE `notifications`.`user_id` = ? AND `notifications`.`read_at` IS NULL
|