|
code
app/controllers/api/v1/contest_participants_controller.rb:161
|
62%
|
app/controllers/api/v1/contest_participants_controller.rb:161
- Average Self
-
38ms
- Average calls
- 1x
- Total Self
- 38ms
- Total Children
- 21ms
- Total runtime
- 60ms
Api::V1::ContestParticipantsController#participant
|
|
sql
app/models/contest_participant.rb:168
|
5%
|
app/models/contest_participant.rb:168
- Average Self
-
1ms
- Average calls
- 3.2x
- Total Self
- 3.3ms
- Total Children
- 0ms
- Total runtime
- 3.3ms
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:142
|
5%
|
app/models/contest_participant.rb:142
- Average Self
-
1ms
- Average calls
- 3.2x
- Total Self
- 3.3ms
- Total Children
- 0ms
- Total runtime
- 3.3ms
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:180
|
5%
|
app/models/contest_participant.rb:180
- Average Self
-
0.91ms
- Average calls
- 3.2x
- Total Self
- 2.9ms
- Total Children
- 0ms
- Total runtime
- 2.9ms
SELECT `contest_stages`.* FROM `contest_stages` WHERE `contest_stages`.`id` = ? ORDER BY `contest_stages`.`stage_order` ASC LIMIT ?
|
|
sql
app/models/contest_participant.rb:166
|
5%
|
app/models/contest_participant.rb:166
- Average Self
-
0.91ms
- Average calls
- 3.2x
- Total Self
- 2.9ms
- Total Children
- 0ms
- Total runtime
- 2.9ms
SELECT `contest_routes`.* FROM `contest_routes` WHERE `contest_routes`.`contest_route_group_id` = ? ORDER BY `contest_routes`.`number` ASC
|
|
sql
app/models/contest_participant.rb:163
|
4%
|
app/models/contest_participant.rb:163
- Average Self
-
0.84ms
- Average calls
- 3.2x
- Total Self
- 2.7ms
- Total Children
- 0ms
- Total runtime
- 2.7ms
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:126
|
3%
|
app/models/contest_participant.rb:126
- Average Self
-
1.1ms
- Average calls
- 1.9x
- Total Self
- 2.1ms
- Total Children
- 0ms
- Total runtime
- 2.1ms
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` = ?
|
|
code
/var/www/oblyk/api/shared/bundle/ruby/2.6.0/gems/railties-6.0.3.6/lib/rails/engine.rb:525
|
3%
|
/var/www/oblyk/api/shared/bundle/ruby/2.6.0/gems/railties-6.0.3.6/lib/rails/engine.rb:525
- Average Self
-
2ms
- Average calls
- 1x
- Total Self
- 2ms
- Total Children
- 60ms
- Total runtime
- 62ms
Rails::Engine#call
|
|
sql
app/controllers/api/v1/contest_participants_controller.rb:291
|
2%
|
app/controllers/api/v1/contest_participants_controller.rb:291
- Average Self
-
1.3ms
- Average calls
- 1x
- Total Self
- 1.3ms
- Total Children
- 0ms
- Total runtime
- 1.3ms
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:163
|
2%
|
app/controllers/api/v1/contest_participants_controller.rb:163
- Average Self
-
1.3ms
- Average calls
- 1x
- Total Self
- 1.3ms
- Total Children
- 0ms
- Total runtime
- 1.3ms
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:295
|
2%
|
app/controllers/api/v1/contest_participants_controller.rb:295
- Average Self
-
1ms
- Average 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` = ? AND `contests`.`id` = ? LIMIT ?
|
|
sql
app/controllers/api/v1/contest_participants_controller.rb:178
|
1%
|
app/controllers/api/v1/contest_participants_controller.rb:178
- Average Self
-
0.88ms
- Average calls
- 0.98x
- Total Self
- 0.86ms
- Total Children
- 0ms
- Total runtime
- 0.86ms
SELECT `contest_categories`.* FROM `contest_categories` WHERE `contest_categories`.`id` = ? ORDER BY `contest_categories`.`order` ASC LIMIT ?
|
|
sql
app/models/concerns/attachment_resizable.rb:10
|
<1%
|
app/models/concerns/attachment_resizable.rb:10
- Average Self
-
0.87ms
- Average calls
- 0.1x
- Total Self
- 0.09ms
- Total Children
- 0ms
- Total runtime
- 0.09ms
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/models/contest_route.rb:45
|
<1%
|
app/models/contest_route.rb:45
- Average Self
-
0.79ms
- Average calls
- 0.1x
- Total Self
- 0.08ms
- Total Children
- 0ms
- Total runtime
- 0.08ms
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:12
|
<1%
|
app/models/concerns/attachment_resizable.rb:12
- Average Self
-
0.78ms
- Average calls
- 0.04x
- Total Self
- 0.03ms
- Total Children
- 0ms
- Total runtime
- 0.03ms
SELECT `active_storage_blobs`.* FROM `active_storage_blobs` WHERE `active_storage_blobs`.`id` = ? LIMIT ?
|
|
sql
app/models/contest_route.rb:52
|
<1%
|
app/models/contest_route.rb:52
- Average Self
-
0.15ms
- Average calls
- 0.1x
- Total Self
- 0.01ms
- Total Children
- 0ms
- Total runtime
- 0.01ms
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 ?
|
|
sql
app/controllers/api/v1/api_controller.rb:50
|
<1%
|
app/controllers/api/v1/api_controller.rb:50
- Average Self
-
1.5ms
- Average calls
- <0.01x
- Total Self
- <0.01ms
- Total Children
- 0ms
- Total runtime
- <0.01ms
SELECT `organizations`.* FROM `organizations` WHERE `organizations`.`api_access_token` = ? LIMIT ?
|