|
code
app/controllers/api/v1/contests_controller.rb:36
|
64%
|
app/controllers/api/v1/contests_controller.rb:36
- Average Self
-
25ms
- Calls
- 1x
- Total Self
- 25ms
- Total Children
- 12ms
- Total runtime
- 37ms
Api::V1::ContestsController#index
|
|
sql
app/models/contest.rb:49
|
26%
|
app/models/contest.rb:49
- Average Self
-
1.1ms
- Calls
- 9x
- Total Self
- 10ms
- Total Children
- 0ms
- Total runtime
- 10ms
SELECT COUNT(*) FROM `contest_participants` INNER JOIN `contest_categories` ON `contest_participants`.`contest_category_id` = `contest_categories`.`id` WHERE `contest_categories`.`contest_id` = ?
|
|
code
/var/www/oblyk/api/shared/bundle/ruby/2.6.0/gems/railties-6.0.3.6/lib/rails/engine.rb:525
|
5%
|
/var/www/oblyk/api/shared/bundle/ruby/2.6.0/gems/railties-6.0.3.6/lib/rails/engine.rb:525
- Average Self
-
2ms
- Calls
- 1x
- Total Self
- 2ms
- Total Children
- 37ms
- Total runtime
- 39ms
Rails::Engine#call
|
|
sql
app/controllers/api/v1/contests_controller.rb:41
|
3%
|
app/controllers/api/v1/contests_controller.rb:41
- Average Self
-
1ms
- Calls
- 1x
- Total Self
- 1ms
- Total Children
- 0ms
- Total runtime
- 1ms
SELECT `contests`.* FROM `contests` WHERE (`contests`.`deleted_at` IS NULL OR `contests`.`deleted_at` > ?) AND `contests`.`gym_id` = ? ORDER BY `contests`.`archived_at` ASC, `contests`.`start_date` DESC
|
|
sql
app/controllers/api/v1/contests_controller.rb:148
|
3%
|
app/controllers/api/v1/contests_controller.rb:148
- Average Self
-
1ms
- Calls
- 1x
- Total Self
- 1ms
- Total Children
- 0ms
- Total runtime
- 1ms
SELECT `gyms`.* FROM `gyms` WHERE (`gyms`.`deleted_at` IS NULL OR `gyms`.`deleted_at` > ?) AND `gyms`.`id` = ? LIMIT ?
|