|
code
app/controllers/api/v1/gym_sectors_controller.rb:76
|
41%
|
app/controllers/api/v1/gym_sectors_controller.rb:76
- Average Self
-
30ms
- Average calls
- 1x
- Total Self
- 30ms
- Total Children
- 40ms
- Total runtime
- 70ms
Api::V1::GymSectorsController#dismount_routes
|
|
sql
app/models/gym_route.rb:126
|
34%
|
app/models/gym_route.rb:126
- Average Self
-
1.7ms
- Average calls
- 15x
- Total Self
- 25ms
- Total Children
- 0ms
- Total runtime
- 25ms
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:437
|
6%
|
app/models/gym_route.rb:437
- Average Self
-
1.6ms
- Average calls
- 3x
- Total Self
- 4.7ms
- Total Children
- 0ms
- Total runtime
- 4.7ms
SELECT `contest_routes`.* FROM `contest_routes` WHERE `contest_routes`.`gym_route_id` = ? ORDER BY `contest_routes`.`number` ASC
|
|
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
-
2.7ms
- Average calls
- 1x
- Total Self
- 2.7ms
- Total Children
- 70ms
- Total runtime
- 73ms
Rails::Engine#call
|
|
sql
app/controllers/concerns/gym_roles_verification.rb:17
|
2%
|
app/controllers/concerns/gym_roles_verification.rb:17
- Average Self
-
1.7ms
- Average calls
- 1x
- Total Self
- 1.7ms
- Total Children
- 0ms
- Total runtime
- 1.7ms
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:107
|
2%
|
app/controllers/api/v1/gym_sectors_controller.rb:107
- Average Self
-
1.7ms
- Average calls
- 1x
- Total Self
- 1.7ms
- Total Children
- 0ms
- Total runtime
- 1.7ms
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/api/v1/api_controller.rb:26
|
2%
|
app/controllers/api/v1/api_controller.rb:26
- Average Self
-
1.7ms
- Average calls
- 1x
- Total Self
- 1.7ms
- Total Children
- 0ms
- Total runtime
- 1.7ms
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/gymable.rb:16
|
2%
|
app/controllers/concerns/gymable.rb:16
- 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/api_controller.rb:64
|
2%
|
app/controllers/api/v1/api_controller.rb:64
- Average Self
-
1.3ms
- Average calls
- 1x
- Total Self
- 1.3ms
- Total Children
- 0ms
- Total runtime
- 1.3ms
SELECT `users`.* FROM `users` WHERE `users`.`id` = ? LIMIT ?
|
|
sql
app/controllers/concerns/gym_roles_verification.rb:13
|
2%
|
app/controllers/concerns/gym_roles_verification.rb:13
- Average Self
-
1.3ms
- Average calls
- 1x
- Total Self
- 1.3ms
- Total Children
- 0ms
- Total runtime
- 1.3ms
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:78
|
1%
|
app/controllers/api/v1/gym_sectors_controller.rb:78
- Average Self
-
1ms
- Average calls
- 1x
- Total Self
- 1ms
- Total Children
- 0ms
- Total runtime
- 1ms
SELECT `gym_routes`.* FROM `gym_routes` WHERE `gym_routes`.`dismounted_at` IS NULL AND `gym_routes`.`gym_sector_id` = ?
|
|
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 ?
|