|
code
app/controllers/api/v1/contest_stage_steps_controller.rb:23
|
61%
|
app/controllers/api/v1/contest_stage_steps_controller.rb:23
- Average Self
-
24ms
- Average calls
- 1x
- Total Self
- 24ms
- Total Children
- 13ms
- Total runtime
- 37ms
Api::V1::ContestStageStepsController#show
|
|
code
/var/www/oblyk/api/shared/bundle/ruby/2.6.0/gems/railties-6.0.3.6/lib/rails/engine.rb:525
|
6%
|
/var/www/oblyk/api/shared/bundle/ruby/2.6.0/gems/railties-6.0.3.6/lib/rails/engine.rb:525
- Average Self
-
2.4ms
- Average calls
- 1x
- Total Self
- 2.4ms
- Total Children
- 37ms
- Total runtime
- 39ms
Rails::Engine#call
|
|
sql
app/controllers/api/v1/contest_stage_steps_controller.rb:56
|
4%
|
app/controllers/api/v1/contest_stage_steps_controller.rb:56
- Average Self
-
1.7ms
- Average calls
- 1x
- Total Self
- 1.7ms
- Total Children
- 0ms
- Total runtime
- 1.7ms
SELECT `gyms`.* FROM `gyms` WHERE (`gyms`.`deleted_at` IS NULL OR `gyms`.`deleted_at` > ?) AND `gyms`.`id` = ? LIMIT ?
|
|
sql
app/controllers/api/v1/contest_stage_steps_controller.rb:60
|
4%
|
app/controllers/api/v1/contest_stage_steps_controller.rb:60
- Average Self
-
1.5ms
- Average calls
- 1x
- Total Self
- 1.5ms
- Total Children
- 0ms
- Total runtime
- 1.5ms
SELECT `contests`.* FROM `contests` WHERE (`contests`.`deleted_at` IS NULL OR `contests`.`deleted_at` > ?) AND `contests`.`gym_id` = ? AND `contests`.`id` = ? LIMIT ?
|
|
sql
app/models/contest_stage_step.rb:63
|
4%
|
app/models/contest_stage_step.rb:63
- Average Self
-
1.5ms
- Average calls
- 1x
- Total Self
- 1.5ms
- Total Children
- 0ms
- Total runtime
- 1.5ms
SELECT `contest_routes`.* FROM `contest_routes` INNER JOIN `contest_route_groups` ON `contest_routes`.`contest_route_group_id` = `contest_route_groups`.`id` WHERE `contest_route_groups`.`contest_stage_step_id` = ? ORDER BY `contest_routes`.`number` ASC
|
|
sql
app/models/contest_stage_step.rb:38
|
3%
|
app/models/contest_stage_step.rb:38
- Average Self
-
1.7ms
- Average calls
- 0.82x
- Total Self
- 1.4ms
- Total Children
- 0ms
- Total runtime
- 1.4ms
SELECT `contest_route_groups`.* FROM `contest_route_groups` WHERE `contest_route_groups`.`contest_stage_step_id` = ?
|
|
sql
app/controllers/api/v1/contest_stage_steps_controller.rb:64
|
3%
|
app/controllers/api/v1/contest_stage_steps_controller.rb:64
- Average Self
-
1.3ms
- Average calls
- 1x
- Total Self
- 1.3ms
- Total Children
- 0ms
- Total runtime
- 1.3ms
SELECT `contest_stages`.* FROM `contest_stages` WHERE `contest_stages`.`contest_id` = ? AND `contest_stages`.`id` = ? ORDER BY `contest_stages`.`stage_order` ASC LIMIT ?
|
|
sql
app/models/contest_stage_step.rb:40
|
3%
|
app/models/contest_stage_step.rb:40
- Average Self
-
1.6ms
- Average calls
- 0.82x
- Total Self
- 1.3ms
- Total Children
- 0ms
- Total runtime
- 1.3ms
SELECT `gyms`.* FROM `gyms` INNER JOIN `contests` ON `gyms`.`id` = `contests`.`gym_id` INNER JOIN `contest_stages` ON `contests`.`id` = `contest_stages`.`contest_id` WHERE (`gyms`.`deleted_at` IS NULL OR `gyms`.`deleted_at` > ?) AND (`contests`.`deleted_at` IS NULL OR `contests`.`deleted_at` > ?) AND `contest_stages`.`id` = ? ORDER BY `contest_stages`.`stage_order` ASC LIMIT ?
|
|
sql
app/models/contest_stage_step.rb:45
|
3%
|
app/models/contest_stage_step.rb:45
- Average Self
-
1.4ms
- Average calls
- 0.82x
- Total Self
- 1.2ms
- Total Children
- 0ms
- Total runtime
- 1.2ms
SELECT `contests`.* FROM `contests` INNER JOIN `contest_stages` ON `contests`.`id` = `contest_stages`.`contest_id` WHERE (`contests`.`deleted_at` IS NULL OR `contests`.`deleted_at` > ?) AND `contest_stages`.`id` = ? ORDER BY `contest_stages`.`stage_order` ASC LIMIT ?
|
|
sql
app/controllers/api/v1/contest_stage_steps_controller.rb:68
|
3%
|
app/controllers/api/v1/contest_stage_steps_controller.rb:68
- Average Self
-
1ms
- Average calls
- 1x
- Total Self
- 1ms
- Total Children
- 0ms
- Total runtime
- 1ms
SELECT `contest_stage_steps`.* FROM `contest_stage_steps` WHERE `contest_stage_steps`.`contest_stage_id` = ? AND `contest_stage_steps`.`id` = ? LIMIT ?
|
|
sql
app/models/contest_route_group.rb:46
|
2%
|
app/models/contest_route_group.rb:46
- Average Self
-
1.4ms
- Average calls
- 0.64x
- Total Self
- 0.91ms
- Total Children
- 0ms
- Total runtime
- 0.91ms
SELECT `contest_routes`.* FROM `contest_routes` WHERE `contest_routes`.`contest_route_group_id` = ? ORDER BY `contest_routes`.`number` ASC
|
|
sql
app/models/contest_route_group.rb:47
|
2%
|
app/models/contest_route_group.rb:47
- Average Self
-
1.1ms
- Average calls
- 0.64x
- Total Self
- 0.73ms
- Total Children
- 0ms
- Total runtime
- 0.73ms
SELECT `contest_time_blocks`.* FROM `contest_time_blocks` WHERE `contest_time_blocks`.`contest_route_group_id` = ?
|
|
sql
app/models/contest_route_group.rb:63
|
2%
|
app/models/contest_route_group.rb:63
- Average Self
-
1.1ms
- Average calls
- 0.64x
- Total Self
- 0.73ms
- Total Children
- 0ms
- Total runtime
- 0.73ms
SELECT `contest_categories`.* FROM `contest_categories` INNER JOIN `contest_route_group_categories` ON `contest_categories`.`id` = `contest_route_group_categories`.`contest_category_id` WHERE `contest_route_group_categories`.`contest_route_group_id` = ? ORDER BY `contest_categories`.`order` ASC
|