|
code
app/controllers/api/v1/contest_stage_steps_controller.rb:27
|
50%
|
app/controllers/api/v1/contest_stage_steps_controller.rb:27
- Average Self
-
28ms
- Calls
- 1x
- Total Self
- 28ms
- Total Children
- 26ms
- Total runtime
- 54ms
Api::V1::ContestStageStepsController#create
|
|
sql
app/controllers/api/v1/contest_stage_steps_controller.rb:30
|
9%
|
app/controllers/api/v1/contest_stage_steps_controller.rb:30
- Average Self
-
2.5ms
- Calls
- 2x
- Total Self
- 5ms
- Total Children
- 0ms
- Total runtime
- 5ms
INSERT INTO `contest_stage_steps` (`name`, `slug_name`, `step_order`, `ranking_type`, `self_reporting`, `contest_stage_id`, `created_at`, `updated_at`) VALUES (?, ?, ?, ?, TRUE, ?, ?, ?)
|
|
sql
app/models/contest_stage_step.rb:81
|
5%
|
app/models/contest_stage_step.rb:81
- Average Self
-
1.5ms
- Calls
- 2x
- Total Self
- 3ms
- Total Children
- 0ms
- Total runtime
- 3ms
BEGIN
SELECT `contest_stage_steps`.* FROM `contest_stage_steps` WHERE `contest_stage_steps`.`contest_stage_id` = ? ORDER BY `contest_stage_steps`.`step_order` DESC LIMIT ?
|
|
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
-
2ms
- Calls
- 1x
- Total Self
- 2ms
- Total Children
- 54ms
- Total runtime
- 56ms
Rails::Engine#call
|
|
sql
app/controllers/api/v1/api_controller.rb:26
|
4%
|
app/controllers/api/v1/api_controller.rb:26
- Average Self
-
2ms
- Calls
- 1x
- Total Self
- 2ms
- Total Children
- 0ms
- Total runtime
- 2ms
SELECT `ip_black_lists`.* FROM `ip_black_lists` WHERE (block_expired_at <= NOW() OR block_expired_at IS NULL) AND `ip_black_lists`.`ip` IS NULL LIMIT ?
|
|
sql
app/controllers/concerns/gym_roles_verification.rb:17
|
4%
|
app/controllers/concerns/gym_roles_verification.rb:17
- Average Self
-
2ms
- Calls
- 1x
- Total Self
- 2ms
- Total Children
- 0ms
- Total runtime
- 2ms
SELECT `gym_administrators`.* FROM `gym_administrators` WHERE `gym_administrators`.`user_id` = ? AND `gym_administrators`.`gym_id` = ? LIMIT ?
|
|
sql
app/controllers/api/v1/contest_stage_steps_controller.rb:76
|
4%
|
app/controllers/api/v1/contest_stage_steps_controller.rb:76
- Average Self
-
2ms
- Calls
- 1x
- Total Self
- 2ms
- Total Children
- 0ms
- Total runtime
- 2ms
SELECT COUNT(*) FROM `gym_administrators` WHERE `gym_administrators`.`gym_id` = ? AND `gym_administrators`.`user_id` = ?
|
|
sql
app/models/contest_stage_step.rb:38
|
4%
|
app/models/contest_stage_step.rb:38
- Average Self
-
2ms
- Calls
- 1x
- Total Self
- 2ms
- Total Children
- 0ms
- Total runtime
- 2ms
SELECT `contest_route_groups`.* FROM `contest_route_groups` WHERE `contest_route_groups`.`contest_stage_step_id` = ?
|
|
sql
app/models/contest_stage_step.rb:40
|
4%
|
app/models/contest_stage_step.rb:40
- Average Self
-
2ms
- Calls
- 1x
- Total Self
- 2ms
- Total Children
- 0ms
- Total runtime
- 2ms
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_service/result.rb:22
|
4%
|
app/models/contest_service/result.rb:22
- Average Self
-
2ms
- Calls
- 1x
- Total Self
- 2ms
- Total Children
- 0ms
- Total runtime
- 2ms
SELECT MAX(`contest_participant_ascents`.`registered_at`) FROM `contest_participant_ascents` INNER JOIN `contest_participants` ON `contest_participant_ascents`.`contest_participant_id` = `contest_participants`.`id` INNER JOIN `contest_categories` ON `contest_participants`.`contest_category_id` = `contest_categories`.`id` WHERE `contest_categories`.`contest_id` = ?
|
|
sql
app/models/contest_stage_step.rb:85
|
2%
|
app/models/contest_stage_step.rb:85
- Average Self
-
1ms
- Calls
- 1x
- Total Self
- 1ms
- Total Children
- 0ms
- Total runtime
- 1ms
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:86
|
2%
|
app/models/contest_stage_step.rb:86
- Average Self
-
1ms
- Calls
- 1x
- Total Self
- 1ms
- Total Children
- 0ms
- Total runtime
- 1ms
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:56
|
2%
|
app/controllers/api/v1/contest_stage_steps_controller.rb:56
- 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 ?
|
|
sql
app/controllers/api/v1/contest_stage_steps_controller.rb:60
|
2%
|
app/controllers/api/v1/contest_stage_steps_controller.rb:60
- 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` = ? AND `contests`.`id` = ? LIMIT ?
|
|
sql
app/controllers/api/v1/contest_stage_steps_controller.rb:64
|
2%
|
app/controllers/api/v1/contest_stage_steps_controller.rb:64
- Average Self
-
1ms
- Calls
- 1x
- Total Self
- 1ms
- Total Children
- 0ms
- Total runtime
- 1ms
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/controllers/api/v1/api_controller.rb:64
|
2%
|
app/controllers/api/v1/api_controller.rb:64
- Average Self
-
1ms
- Calls
- 1x
- Total Self
- 1ms
- Total Children
- 0ms
- Total runtime
- 1ms
SELECT `users`.* FROM `users` WHERE `users`.`id` = ? LIMIT ?
|