|
code
app/controllers/api/v1/conversation_messages_controller.rb:12
|
54%
|
app/controllers/api/v1/conversation_messages_controller.rb:12
- Average Self
-
12ms
- Average calls
- 1x
- Total Self
- 12ms
- Total Children
- 8.5ms
- Total runtime
- 21ms
Api::V1::ConversationMessagesController#index
|
|
sql
app/controllers/api/v1/conversation_messages_controller.rb:20
|
15%
|
app/controllers/api/v1/conversation_messages_controller.rb:20
- Average Self
-
1.9ms
- Average calls
- 1.9x
- Total Self
- 3.6ms
- Total Children
- 0ms
- Total runtime
- 3.6ms
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.5ms
- Average calls
- 1x
- Total Self
- 2.5ms
- Total Children
- 21ms
- Total runtime
- 23ms
Rails::Engine#call
|
|
sql
app/controllers/api/v1/conversation_messages_controller.rb:71
|
8%
|
app/controllers/api/v1/conversation_messages_controller.rb:71
- Average Self
-
1.8ms
- Average calls
- 1x
- Total Self
- 1.8ms
- Total Children
- 0ms
- Total runtime
- 1.8ms
SELECT COUNT(*) FROM `conversation_users` WHERE `conversation_users`.`conversation_id` = ? AND `conversation_users`.`user_id` = ?
|
|
sql
app/controllers/api/v1/api_controller.rb:64
|
7%
|
app/controllers/api/v1/api_controller.rb:64
- Average Self
-
1.6ms
- Average calls
- 1x
- Total Self
- 1.7ms
- Total Children
- 0ms
- Total runtime
- 1.7ms
SET NAMES utf8mb4, @@SESSION.sql_mode = CONCAT(CONCAT(@@sql_mode, ?), ?), @@SESSION.sql_auto_is_null = ?, @@SESSION.wait_timeout = ?
|
|
sql
app/controllers/api/v1/conversation_messages_controller.rb:79
|
6%
|
app/controllers/api/v1/conversation_messages_controller.rb:79
- Average Self
-
1.4ms
- Average calls
- 1x
- Total Self
- 1.4ms
- Total Children
- 0ms
- Total runtime
- 1.4ms
SELECT `conversations`.* FROM `conversations` WHERE `conversations`.`id` = ? LIMIT ?
|