|
code
app/controllers/api/v1/conversation_messages_controller.rb:12
|
46%
|
app/controllers/api/v1/conversation_messages_controller.rb:12
- Average Self
-
8.3ms
- Average calls
- 1x
- Total Self
- 8.3ms
- Total Children
- 7.3ms
- Total runtime
- 15ms
Api::V1::ConversationMessagesController#index
|
|
sql
app/controllers/api/v1/conversation_messages_controller.rb:71
|
15%
|
app/controllers/api/v1/conversation_messages_controller.rb:71
- Average Self
-
2.7ms
- Average calls
- 1x
- Total Self
- 2.7ms
- Total Children
- 0ms
- Total runtime
- 2.7ms
SELECT COUNT(*) FROM `conversation_users` WHERE `conversation_users`.`conversation_id` = ? AND `conversation_users`.`user_id` = ?
|
|
code
/var/www/oblyk/api/shared/bundle/ruby/2.6.0/gems/railties-6.0.3.6/lib/rails/engine.rb:525
|
13%
|
/var/www/oblyk/api/shared/bundle/ruby/2.6.0/gems/railties-6.0.3.6/lib/rails/engine.rb:525
- Average Self
-
2.3ms
- Average calls
- 1x
- Total Self
- 2.3ms
- Total Children
- 15ms
- Total runtime
- 18ms
Rails::Engine#call
|
|
sql
app/controllers/api/v1/conversation_messages_controller.rb:20
|
11%
|
app/controllers/api/v1/conversation_messages_controller.rb:20
- Average Self
-
1.2ms
- Average calls
- 1.7x
- Total Self
- 2ms
- Total Children
- 0ms
- Total runtime
- 2ms
SELECT `conversation_messages`.* FROM `conversation_messages` WHERE `conversation_messages`.`conversation_id` = ? AND (posted_at < ?) ORDER BY `conversation_messages`.`posted_at` DESC LIMIT ?
|
|
sql
app/controllers/api/v1/api_controller.rb:64
|
9%
|
app/controllers/api/v1/api_controller.rb:64
- Average Self
-
1.7ms
- Average calls
- 1x
- Total Self
- 1.7ms
- Total Children
- 0ms
- Total runtime
- 1.7ms
SELECT `users`.* FROM `users` WHERE `users`.`id` = ? LIMIT ?
|
|
sql
app/controllers/api/v1/conversation_messages_controller.rb:79
|
6%
|
app/controllers/api/v1/conversation_messages_controller.rb:79
- Average Self
-
1ms
- Average calls
- 1x
- Total Self
- 1ms
- Total Children
- 0ms
- Total runtime
- 1ms
SELECT `conversations`.* FROM `conversations` WHERE `conversations`.`id` = ? LIMIT ?
|