|
code
app/controllers/api/v1/current_users_controller.rb:203
|
52%
|
app/controllers/api/v1/current_users_controller.rb:203
- Average Self
-
6.5ms
- Average calls
- 1x
- Total Self
- 6.5ms
- Total Children
- 3.6ms
- Total runtime
- 10ms
Api::V1::CurrentUsersController#upcoming_contests
|
|
code
/var/www/oblyk/api/shared/bundle/ruby/2.6.0/gems/railties-6.0.3.6/lib/rails/engine.rb:525
|
19%
|
/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
- 10ms
- Total runtime
- 12ms
Rails::Engine#call
|
|
sql
app/controllers/api/v1/current_users_controller.rb:209
|
15%
|
app/controllers/api/v1/current_users_controller.rb:209
- Average Self
-
1.8ms
- Average calls
- 1x
- Total Self
- 1.8ms
- Total Children
- 0ms
- Total runtime
- 1.8ms
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 <= ?)
|
|
sql
app/controllers/api/v1/api_controller.rb:64
|
14%
|
app/controllers/api/v1/api_controller.rb:64
- Average Self
-
1.8ms
- Average calls
- 1x
- Total Self
- 1.8ms
- Total Children
- 0ms
- Total runtime
- 1.8ms
SELECT `users`.* FROM `users` WHERE `users`.`id` = ? LIMIT ?
|