|
code
app/controllers/api/v1/notifications_controller.rb:21
|
71%
|
app/controllers/api/v1/notifications_controller.rb:21
- Average Self
-
9.3ms
- Average calls
- 1x
- Total Self
- 9.3ms
- Total Children
- 1.9ms
- Total runtime
- 11ms
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
|
14%
|
/var/www/oblyk/api/shared/bundle/ruby/2.6.0/gems/railties-6.0.3.6/lib/rails/engine.rb:525
- Average Self
-
1.8ms
- Average calls
- 1x
- Total Self
- 1.8ms
- Total Children
- 11ms
- Total runtime
- 12ms
Rails::Engine#call
|
|
sql
app/controllers/api/v1/notifications_controller.rb:22
|
7%
|
app/controllers/api/v1/notifications_controller.rb:22
- Average Self
-
1.3ms
- Average calls
- 0.76x
- Total Self
- 0.95ms
- Total Children
- 0ms
- Total runtime
- 0.95ms
SELECT COUNT(*) FROM `notifications` WHERE `notifications`.`user_id` = ? AND `notifications`.`read_at` IS NULL
|
|
sql
app/controllers/api/v1/api_controller.rb:64
|
7%
|
app/controllers/api/v1/api_controller.rb:64
- Average Self
-
1.2ms
- Average calls
- 0.76x
- Total Self
- 0.93ms
- Total Children
- 0ms
- Total runtime
- 0.93ms
SELECT `users`.* FROM `users` WHERE `users`.`id` = ? LIMIT ?
|