|
code
app/controllers/api/v1/conversation_messages_controller.rb:12
|
56%
|
app/controllers/api/v1/conversation_messages_controller.rb:12
- Average Self
-
10ms
- Average calls
- 1x
- Total Self
- 10ms
- Total Children
- 6.7ms
- Total runtime
- 17ms
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.8ms
- Average calls
- 1.3x
- Total Self
- 2.3ms
- Total Children
- 0ms
- Total runtime
- 2.3ms
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
|
9%
|
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 ?
|
|
code
/var/www/oblyk/api/shared/bundle/ruby/2.6.0/gems/railties-6.0.3.6/lib/rails/engine.rb:525
|
7%
|
/var/www/oblyk/api/shared/bundle/ruby/2.6.0/gems/railties-6.0.3.6/lib/rails/engine.rb:525
- Average Self
-
1.3ms
- Average calls
- 1x
- Total Self
- 1.3ms
- Total Children
- 17ms
- Total runtime
- 18ms
Rails::Engine#call
|
|
sql
app/controllers/api/v1/api_controller.rb:64
|
7%
|
app/controllers/api/v1/api_controller.rb:64
- Average Self
-
1.3ms
- Average calls
- 1x
- Total Self
- 1.3ms
- Total Children
- 0ms
- Total runtime
- 1.3ms
SELECT `users`.* FROM `users` WHERE `users`.`id` = ? LIMIT ?
|
|
sql
app/controllers/api/v1/conversation_messages_controller.rb:71
|
7%
|
app/controllers/api/v1/conversation_messages_controller.rb:71
- Average Self
-
1.3ms
- Average calls
- 1x
- Total Self
- 1.3ms
- Total Children
- 0ms
- Total runtime
- 1.3ms
SELECT COUNT(*) FROM `conversation_users` WHERE `conversation_users`.`conversation_id` = ? AND `conversation_users`.`user_id` = ?
|