|
code
app/controllers/api/v1/contest_participants_controller.rb:272
|
70%
|
app/controllers/api/v1/contest_participants_controller.rb:272
- Average Self
-
16ms
- Calls
- 1x
- Total Self
- 16ms
- Total Children
- 5ms
- Total runtime
- 21ms
Api::V1::ContestParticipantsController#tombola_winners
|
|
code
/var/www/oblyk/api/shared/bundle/ruby/2.6.0/gems/railties-6.0.3.6/lib/rails/engine.rb:525
|
9%
|
/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
- 21ms
- Total runtime
- 23ms
Rails::Engine#call
|
|
sql
app/controllers/api/v1/contest_participants_controller.rb:291
|
4%
|
app/controllers/api/v1/contest_participants_controller.rb:291
- 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_participants_controller.rb:295
|
4%
|
app/controllers/api/v1/contest_participants_controller.rb:295
- 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_participants_controller.rb:307
|
4%
|
app/controllers/api/v1/contest_participants_controller.rb:307
- Average Self
-
1ms
- Calls
- 1x
- Total Self
- 1ms
- Total Children
- 0ms
- Total runtime
- 1ms
SELECT COUNT(*) FROM `gym_administrators` WHERE `gym_administrators`.`gym_id` = ? AND `gym_administrators`.`user_id` = ?
|
|
sql
app/controllers/api/v1/contest_participants_controller.rb:273
|
4%
|
app/controllers/api/v1/contest_participants_controller.rb:273
- Average Self
-
1ms
- Calls
- 1x
- Total Self
- 1ms
- Total Children
- 0ms
- Total runtime
- 1ms
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`.`tombola_winner` = TRUE ORDER BY `contest_categories`.`order` ASC
|
|
sql
app/controllers/api/v1/api_controller.rb:64
|
4%
|
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 ?
|