|
code
app/controllers/api/v1/current_users_controller.rb:203
|
43%
|
app/controllers/api/v1/current_users_controller.rb:203
- Average Self
-
7ms
- Average calls
- 1x
- Total Self
- 7ms
- Total Children
- 7ms
- Total runtime
- 13ms
Api::V1::CurrentUsersController#upcoming_contests
|
|
sql
app/controllers/api/v1/current_users_controller.rb:209
|
32%
|
app/controllers/api/v1/current_users_controller.rb:209
- Average Self
-
5.4ms
- Average calls
- 0.98x
- Total Self
- 5.3ms
- Total Children
- 0ms
- Total runtime
- 5.3ms
SELECT `contest_participants`.* FROM `contest_participants` INNER JOIN `contest_categories` ON `contest_categories`.`id` = `contest_participants`.`contest_category_id` INNER JOIN `contests` ON `contests`.`id` = `contest_categories`.`contest_id` AND (`contests`.`deleted_at` IS NULL OR `contests`.`deleted_at` > ?) WHERE `contest_participants`.`user_id` = ? AND (contests.end_date >= ?) AND (contests.subscription_start_date <= ?)
|
|
code
/var/www/oblyk/api/shared/bundle/ruby/2.6.0/gems/railties-6.0.3.6/lib/rails/engine.rb:525
|
14%
|
/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
- 13ms
- Total runtime
- 16ms
Rails::Engine#call
|
|
sql
app/controllers/api/v1/api_controller.rb:64
|
10%
|
app/controllers/api/v1/api_controller.rb:64
- Average Self
-
1.7ms
- Average calls
- 0.98x
- Total Self
- 1.7ms
- Total Children
- 0ms
- Total runtime
- 1.7ms
SELECT `users`.* FROM `users` WHERE `users`.`id` = ? LIMIT ?
|