|
code
app/controllers/api/v1/contest_participants_controller.rb:161
|
66%
|
app/controllers/api/v1/contest_participants_controller.rb:161
- Average Self
-
56ms
- Average calls
- 1x
- Total Self
- 56ms
- Total Children
- 25ms
- Total runtime
- 82ms
Api::V1::ContestParticipantsController#participant
|
|
code
/var/www/oblyk/api/shared/bundle/ruby/2.6.0/gems/railties-6.0.3.6/lib/rails/engine.rb:525
|
4%
|
/var/www/oblyk/api/shared/bundle/ruby/2.6.0/gems/railties-6.0.3.6/lib/rails/engine.rb:525
- Average Self
-
3.7ms
- Average calls
- 1x
- Total Self
- 3.7ms
- Total Children
- 82ms
- Total runtime
- 85ms
Rails::Engine#call
|
|
sql
app/models/contest_participant.rb:126
|
3%
|
app/models/contest_participant.rb:126
- Average Self
-
1.4ms
- Average calls
- 2x
- Total Self
- 2.8ms
- Total Children
- 0ms
- Total runtime
- 2.8ms
SELECT `contest_stage_steps`.* FROM `contest_stage_steps` INNER JOIN `contest_participant_steps` ON `contest_stage_steps`.`id` = `contest_participant_steps`.`contest_stage_step_id` WHERE `contest_participant_steps`.`contest_participant_id` = ?
|
|
sql
app/models/contest_participant.rb:168
|
3%
|
app/models/contest_participant.rb:168
- Average Self
-
1.6ms
- Average calls
- 1.6x
- Total Self
- 2.6ms
- Total Children
- 0ms
- Total runtime
- 2.6ms
SELECT `contest_participant_ascents`.* FROM `contest_participant_ascents` WHERE `contest_participant_ascents`.`contest_route_id` IN (?) AND `contest_participant_ascents`.`contest_participant_id` = ?
|
|
sql
app/models/contest_participant.rb:180
|
3%
|
app/models/contest_participant.rb:180
- Average Self
-
1.5ms
- Average calls
- 1.6x
- Total Self
- 2.5ms
- Total Children
- 0ms
- Total runtime
- 2.5ms
SELECT `contest_stages`.* FROM `contest_stages` WHERE `contest_stages`.`id` = ? ORDER BY `contest_stages`.`stage_order` ASC LIMIT ?
|
|
sql
app/models/contest_participant.rb:142
|
3%
|
app/models/contest_participant.rb:142
- Average Self
-
1.5ms
- Average calls
- 1.6x
- Total Self
- 2.5ms
- Total Children
- 0ms
- Total runtime
- 2.5ms
SELECT `contest_route_groups`.* FROM `contest_route_groups` INNER JOIN `contest_route_group_categories` ON `contest_route_group_categories`.`contest_route_group_id` = `contest_route_groups`.`id` WHERE `contest_route_groups`.`contest_stage_step_id` = ? AND `contest_route_group_categories`.`contest_category_id` = ? AND (contest_route_groups.genre_type = ? OR contest_route_groups.genre_type = ?)
|
|
sql
app/models/contest_participant.rb:163
|
3%
|
app/models/contest_participant.rb:163
- Average Self
-
1.5ms
- Average calls
- 1.6x
- Total Self
- 2.4ms
- Total Children
- 0ms
- Total runtime
- 2.4ms
SELECT `contest_routes`.`id` FROM `contest_routes` WHERE `contest_routes`.`contest_route_group_id` = ? ORDER BY `contest_routes`.`number` ASC
|
|
sql
app/models/contest_participant.rb:166
|
3%
|
app/models/contest_participant.rb:166
- Average Self
-
1.4ms
- Average calls
- 1.6x
- Total Self
- 2.3ms
- Total Children
- 0ms
- Total runtime
- 2.3ms
SELECT `contest_routes`.* FROM `contest_routes` WHERE `contest_routes`.`contest_route_group_id` = ? ORDER BY `contest_routes`.`number` ASC
|
|
sql
app/models/contest_route.rb:45
|
2%
|
app/models/contest_route.rb:45
- Average Self
-
1.5ms
- Average calls
- 1.4x
- Total Self
- 2.1ms
- Total Children
- 0ms
- Total runtime
- 2.1ms
SELECT `contest_judges`.* FROM `contest_judges` INNER JOIN `contest_judge_routes` ON `contest_judges`.`id` = `contest_judge_routes`.`contest_judge_id` WHERE `contest_judge_routes`.`contest_route_id` = ?
|
|
sql
app/models/concerns/attachment_resizable.rb:10
|
2%
|
app/models/concerns/attachment_resizable.rb:10
- Average Self
-
1.4ms
- Average calls
- 1.4x
- Total Self
- 1.8ms
- Total Children
- 0ms
- Total runtime
- 1.8ms
SELECT `active_storage_attachments`.* FROM `active_storage_attachments` WHERE `active_storage_attachments`.`record_id` = ? AND `active_storage_attachments`.`record_type` = ? AND `active_storage_attachments`.`name` = ? LIMIT ?
|
|
sql
app/controllers/api/v1/contest_participants_controller.rb:163
|
2%
|
app/controllers/api/v1/contest_participants_controller.rb:163
- 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_participants`.`contest_category_id` = `contest_categories`.`id` WHERE `contest_categories`.`contest_id` = ? AND `contest_participants`.`token` = ? ORDER BY `contest_categories`.`order` ASC LIMIT ?
|
|
sql
app/controllers/api/v1/contest_participants_controller.rb:291
|
2%
|
app/controllers/api/v1/contest_participants_controller.rb:291
- Average Self
-
1.6ms
- Average calls
- 1x
- Total Self
- 1.6ms
- Total Children
- 0ms
- Total runtime
- 1.6ms
SELECT `gyms`.* FROM `gyms` WHERE (`gyms`.`deleted_at` IS NULL OR `gyms`.`deleted_at` > ?) AND `gyms`.`id` = ? LIMIT ?
|
|
sql
app/controllers/api/v1/contest_participants_controller.rb:295
|
2%
|
app/controllers/api/v1/contest_participants_controller.rb:295
- Average Self
-
1.4ms
- Average calls
- 1x
- Total Self
- 1.4ms
- Total Children
- 0ms
- Total runtime
- 1.4ms
SELECT `contests`.* FROM `contests` WHERE (`contests`.`deleted_at` IS NULL OR `contests`.`deleted_at` > ?) AND `contests`.`gym_id` = ? AND `contests`.`id` = ? LIMIT ?
|
|
sql
app/controllers/api/v1/contest_participants_controller.rb:178
|
2%
|
app/controllers/api/v1/contest_participants_controller.rb:178
- Average Self
-
1.3ms
- Average calls
- 1x
- Total Self
- 1.3ms
- Total Children
- 0ms
- Total runtime
- 1.3ms
SELECT `contest_categories`.* FROM `contest_categories` WHERE `contest_categories`.`id` = ? ORDER BY `contest_categories`.`order` ASC LIMIT ?
|
|
sql
app/models/contest_route.rb:52
|
<1%
|
app/models/contest_route.rb:52
- Average Self
-
0.17ms
- Average calls
- 1.4x
- Total Self
- 0.23ms
- Total Children
- 0ms
- Total runtime
- 0.23ms
SELECT `contest_stage_steps`.* FROM `contest_stage_steps` INNER JOIN `contest_route_groups` ON `contest_stage_steps`.`id` = `contest_route_groups`.`contest_stage_step_id` WHERE `contest_route_groups`.`id` = ? LIMIT ?
|