|
code
app/controllers/api/v1/conversation_messages_controller.rb:12
|
60%
|
app/controllers/api/v1/conversation_messages_controller.rb:12
- Average Self
-
15ms
- Average calls
- 1x
- Total Self
- 15ms
- Total Children
- 7.8ms
- Total runtime
- 22ms
Api::V1::ConversationMessagesController#index
|
|
sql
app/controllers/api/v1/conversation_messages_controller.rb:20
|
13%
|
app/controllers/api/v1/conversation_messages_controller.rb:20
- Average Self
-
1.6ms
- Average calls
- 2x
- Total Self
- 3.2ms
- Total Children
- 0ms
- Total runtime
- 3.2ms
SELECT `conversation_messages`.* FROM `conversation_messages` WHERE `conversation_messages`.`conversation_id` = ? AND (posted_at < ?) ORDER BY `conversation_messages`.`posted_at` DESC LIMIT ?
|
|
code
/var/www/oblyk/api/shared/bundle/ruby/2.6.0/gems/railties-6.0.3.6/lib/rails/engine.rb:525
|
10%
|
/var/www/oblyk/api/shared/bundle/ruby/2.6.0/gems/railties-6.0.3.6/lib/rails/engine.rb:525
- Average Self
-
2.4ms
- Average calls
- 1x
- Total Self
- 2.4ms
- Total Children
- 22ms
- Total runtime
- 25ms
Rails::Engine#call
|
|
sql
app/controllers/api/v1/conversation_messages_controller.rb:79
|
7%
|
app/controllers/api/v1/conversation_messages_controller.rb:79
- Average Self
-
1.7ms
- Average calls
- 1x
- Total Self
- 1.7ms
- Total Children
- 0ms
- Total runtime
- 1.7ms
SELECT `conversations`.* FROM `conversations` WHERE `conversations`.`id` = ? LIMIT ?
|
|
sql
app/controllers/api/v1/conversation_messages_controller.rb:71
|
6%
|
app/controllers/api/v1/conversation_messages_controller.rb:71
- Average Self
-
1.5ms
- Average calls
- 1x
- Total Self
- 1.5ms
- Total Children
- 0ms
- Total runtime
- 1.5ms
SELECT COUNT(*) FROM `conversation_users` WHERE `conversation_users`.`conversation_id` = ? AND `conversation_users`.`user_id` = ?
|
|
sql
app/controllers/api/v1/api_controller.rb:64
|
5%
|
app/controllers/api/v1/api_controller.rb:64
- Average Self
-
1.4ms
- Average calls
- 1x
- Total Self
- 1.4ms
- Total Children
- 0ms
- Total runtime
- 1.4ms
SELECT `users`.* FROM `users` WHERE `users`.`id` = ? LIMIT ?
|