|
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.1x
- 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.1x
- Total Self
- 3.2ms
- Total Children
- 0ms
- Total runtime
- 3.2ms
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:166
|
5%
|
app/models/contest_participant.rb:166
- Average Self
-
0.91ms
- Average calls
- 3.1x
- Total Self
- 2.8ms
- Total Children
- 0ms
- Total runtime
- 2.8ms
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:180
|
5%
|
app/models/contest_participant.rb:180
- Average Self
-
0.91ms
- Average calls
- 3.1x
- Total Self
- 2.8ms
- Total Children
- 0ms
- Total runtime
- 2.8ms
SELECT `contest_stages`.* FROM `contest_stages` WHERE `contest_stages`.`id` = ? ORDER BY `contest_stages`.`stage_order` ASC LIMIT ?
|
|
sql
app/models/contest_participant.rb:163
|
4%
|
app/models/contest_participant.rb:163
- Average Self
-
0.85ms
- Average calls
- 3.1x
- 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.99x
- 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.88ms
- Average calls
- 0.12x
- Total Self
- 0.11ms
- Total Children
- 0ms
- Total runtime
- 0.11ms
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.81ms
- Average calls
- 0.11x
- Total Self
- 0.09ms
- Total Children
- 0ms
- Total runtime
- 0.09ms
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.83ms
- Average calls
- 0.06x
- Total Self
- 0.05ms
- Total Children
- 0ms
- Total runtime
- 0.05ms
SELECT `active_storage_blobs`.* FROM `active_storage_blobs` WHERE `active_storage_blobs`.`id` = ? LIMIT ?
|
|
sql
app/models/contest_route.rb:48
|
<1%
|
app/models/contest_route.rb:48
- Average Self
-
0.97ms
- Average calls
- 0.02x
- Total Self
- 0.02ms
- Total Children
- 0ms
- Total runtime
- 0.02ms
SELECT `gym_sectors`.* FROM `gym_sectors` WHERE (`gym_sectors`.`deleted_at` IS NULL OR `gym_sectors`.`deleted_at` > ?) AND `gym_sectors`.`id` = ? ORDER BY `gym_sectors`.`order` ASC LIMIT ?
|
|
sql
app/models/contest_route.rb:52
|
<1%
|
app/models/contest_route.rb:52
- Average Self
-
0.14ms
- Average calls
- 0.11x
- Total Self
- 0.02ms
- Total Children
- 0ms
- Total runtime
- 0.02ms
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/models/gym_route.rb:50
|
<1%
|
app/models/gym_route.rb:50
- Average Self
-
1.2ms
- Average calls
- <0.01x
- Total Self
- 0.01ms
- Total Children
- 0ms
- Total runtime
- 0.01ms
SELECT `gyms`.* FROM `gyms` INNER JOIN `gym_spaces` ON `gyms`.`id` = `gym_spaces`.`gym_id` INNER JOIN `gym_sectors` ON `gym_spaces`.`id` = `gym_sectors`.`gym_space_id` WHERE (`gyms`.`deleted_at` IS NULL OR `gyms`.`deleted_at` > ?) AND (`gym_spaces`.`deleted_at` IS NULL OR `gym_spaces`.`deleted_at` > ?) AND (`gym_sectors`.`deleted_at` IS NULL OR `gym_sectors`.`deleted_at` > ?) AND `gym_sectors`.`id` = ? ORDER BY `gym_spaces`.`order` ASC, `gym_sectors`.`order` ASC LIMIT ?
|
|
sql
app/models/contest_route.rb:46
|
<1%
|
app/models/contest_route.rb:46
- Average Self
-
1.1ms
- Average calls
- <0.01x
- Total Self
- 0.01ms
- Total Children
- 0ms
- Total runtime
- 0.01ms
SELECT `gym_routes`.* FROM `gym_routes` WHERE `gym_routes`.`id` = ? LIMIT ?
|
|
sql
app/models/gym_route.rb:193
|
<1%
|
app/models/gym_route.rb:193
- Average Self
-
1ms
- Average calls
- <0.01x
- Total Self
- <0.01ms
- Total Children
- 0ms
- Total runtime
- <0.01ms
SELECT `gym_spaces`.* FROM `gym_spaces` INNER JOIN `gym_sectors` ON `gym_spaces`.`id` = `gym_sectors`.`gym_space_id` WHERE (`gym_spaces`.`deleted_at` IS NULL OR `gym_spaces`.`deleted_at` > ?) AND (`gym_sectors`.`deleted_at` IS NULL OR `gym_sectors`.`deleted_at` > ?) AND `gym_sectors`.`id` = ? ORDER BY `gym_spaces`.`order` ASC, `gym_sectors`.`order` ASC 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 ?
|
|
sql
app/models/gym_route.rb:102
|
<1%
|
app/models/gym_route.rb:102
- Average Self
-
0.13ms
- Average calls
- <0.01x
- Total Self
- <0.01ms
- Total Children
- 0ms
- Total runtime
- <0.01ms
SELECT `gym_levels`.* FROM `gym_levels` WHERE `gym_levels`.`gym_id` = ?
|