|
code
app/controllers/api/v1/conversation_messages_controller.rb:12
|
40%
|
app/controllers/api/v1/conversation_messages_controller.rb:12
- Average Self
-
6ms
- Calls
- 1x
- Total Self
- 6ms
- Total Children
- 7ms
- Total runtime
- 13ms
Api::V1::ConversationMessagesController#index
|
|
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
-
2ms
- Calls
- 1x
- Total Self
- 2ms
- Total Children
- 13ms
- Total runtime
- 15ms
Rails::Engine#call
|
|
sql
app/controllers/api/v1/api_controller.rb:64
|
13%
|
app/controllers/api/v1/api_controller.rb:64
- Average Self
-
2ms
- Calls
- 1x
- Total Self
- 2ms
- Total Children
- 0ms
- Total runtime
- 2ms
SELECT `users`.* FROM `users` WHERE `users`.`id` = ? LIMIT ?
|
|
sql
app/controllers/api/v1/conversation_messages_controller.rb:20
|
13%
|
app/controllers/api/v1/conversation_messages_controller.rb:20
- Average Self
-
1ms
- Calls
- 2x
- 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/conversation_messages_controller.rb:79
|
13%
|
app/controllers/api/v1/conversation_messages_controller.rb:79
- Average Self
-
2ms
- Calls
- 1x
- Total Self
- 2ms
- Total Children
- 0ms
- Total runtime
- 2ms
SELECT `conversations`.* FROM `conversations` WHERE `conversations`.`id` = ? LIMIT ?
|
|
sql
app/controllers/api/v1/conversation_messages_controller.rb:71
|
7%
|
app/controllers/api/v1/conversation_messages_controller.rb:71
- Average Self
-
1ms
- Calls
- 1x
- Total Self
- 1ms
- Total Children
- 0ms
- Total runtime
- 1ms
SELECT COUNT(*) FROM `conversation_users` WHERE `conversation_users`.`conversation_id` = ? AND `conversation_users`.`user_id` = ?
|