|
code
app/controllers/api/v1/gym_sectors_controller.rb:76
|
51%
|
app/controllers/api/v1/gym_sectors_controller.rb:76
- Average Self
-
80ms
- Average calls
- 1x
- Total Self
- 80ms
- Total Children
- 75ms
- Total runtime
- 155ms
Api::V1::GymSectorsController#dismount_routes
|
|
sql
app/models/gym_route.rb:115
|
36%
|
app/models/gym_route.rb:115
- Average Self
-
1.1ms
- Average calls
- 50x
- Total Self
- 56ms
- Total Children
- 0ms
- Total runtime
- 56ms
BEGIN
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/gym_route.rb:426
|
6%
|
app/models/gym_route.rb:426
- Average Self
-
1ms
- Average calls
- 10x
- Total Self
- 10ms
- Total Children
- 0ms
- Total runtime
- 10ms
SELECT `contest_routes`.* FROM `contest_routes` WHERE `contest_routes`.`gym_route_id` = ? ORDER BY `contest_routes`.`number` ASC
|
|
sql
app/controllers/concerns/gym_roles_verification.rb:17
|
<1%
|
app/controllers/concerns/gym_roles_verification.rb:17
- Average Self
-
1.5ms
- Average calls
- 1x
- Total Self
- 1.5ms
- Total Children
- 0ms
- Total runtime
- 1.5ms
SELECT `gym_administrators`.* FROM `gym_administrators` WHERE `gym_administrators`.`user_id` = ? AND `gym_administrators`.`gym_id` = ? LIMIT ?
|
|
sql
app/controllers/api/v1/gym_sectors_controller.rb:78
|
<1%
|
app/controllers/api/v1/gym_sectors_controller.rb:78
- Average Self
-
1.5ms
- Average calls
- 1x
- Total Self
- 1.5ms
- Total Children
- 0ms
- Total runtime
- 1.5ms
SELECT `gym_routes`.* FROM `gym_routes` WHERE `gym_routes`.`dismounted_at` IS NULL AND `gym_routes`.`gym_sector_id` = ?
|
|
code
/var/www/oblyk/api/shared/bundle/ruby/2.6.0/gems/railties-6.0.3.6/lib/rails/engine.rb:525
|
<1%
|
/var/www/oblyk/api/shared/bundle/ruby/2.6.0/gems/railties-6.0.3.6/lib/rails/engine.rb:525
- Average Self
-
1.5ms
- Average calls
- 1x
- Total Self
- 1.5ms
- Total Children
- 155ms
- Total runtime
- 157ms
Rails::Engine#call
|
|
sql
app/controllers/api/v1/api_controller.rb:26
|
<1%
|
app/controllers/api/v1/api_controller.rb:26
- Average Self
-
1ms
- Average calls
- 1x
- Total Self
- 1ms
- Total Children
- 0ms
- Total runtime
- 1ms
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:13
|
<1%
|
app/controllers/concerns/gym_roles_verification.rb:13
- Average Self
-
1ms
- Average calls
- 1x
- Total Self
- 1ms
- Total Children
- 0ms
- Total runtime
- 1ms
SELECT ? AS one FROM `gym_administrators` WHERE `gym_administrators`.`gym_id` = ? AND `gym_administrators`.`user_id` = ? LIMIT ?
|
|
sql
app/controllers/api/v1/gym_sectors_controller.rb:103
|
<1%
|
app/controllers/api/v1/gym_sectors_controller.rb:103
- Average Self
-
1ms
- Average calls
- 1x
- Total Self
- 1ms
- Total Children
- 0ms
- Total runtime
- 1ms
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/controllers/api/v1/gym_sectors_controller.rb:107
|
<1%
|
app/controllers/api/v1/gym_sectors_controller.rb:107
- Average Self
-
1ms
- Average calls
- 1x
- Total Self
- 1ms
- Total Children
- 0ms
- Total runtime
- 1ms
SELECT `gym_spaces`.* FROM `gym_spaces` WHERE (`gym_spaces`.`deleted_at` IS NULL OR `gym_spaces`.`deleted_at` > ?) AND `gym_spaces`.`id` = ? ORDER BY `gym_spaces`.`order` ASC LIMIT ?
|
|
sql
app/controllers/concerns/gymable.rb:16
|
<1%
|
app/controllers/concerns/gymable.rb:16
- Average Self
-
1ms
- Average 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/api_controller.rb:64
|
<1%
|
app/controllers/api/v1/api_controller.rb:64
- Average Self
-
1ms
- Average calls
- 1x
- Total Self
- 1ms
- Total Children
- 0ms
- Total runtime
- 1ms
SELECT `users`.* FROM `users` WHERE `users`.`id` = ? LIMIT ?
|