|
code
app/controllers/api/v1/gym_sectors_controller.rb:82
|
49%
|
app/controllers/api/v1/gym_sectors_controller.rb:82
- Average Self
-
13ms
- Average calls
- 1x
- Total Self
- 13ms
- Total Children
- 11ms
- Total runtime
- 24ms
Api::V1::GymSectorsController#last_routes_with_pictures
|
|
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
-
2.5ms
- Average calls
- 1x
- Total Self
- 2.5ms
- Total Children
- 24ms
- Total runtime
- 27ms
Rails::Engine#call
|
|
sql
app/controllers/api/v1/gym_sectors_controller.rb:84
|
7%
|
app/controllers/api/v1/gym_sectors_controller.rb:84
- Average Self
-
1.9ms
- Average calls
- 1x
- Total Self
- 1.9ms
- Total Children
- 0ms
- Total runtime
- 1.9ms
SELECT DISTINCT `gym_routes`.`gym_route_cover_id` FROM `gym_routes` WHERE `gym_routes`.`dismounted_at` IS NULL AND `gym_routes`.`gym_sector_id` = ?
|
|
sql
app/controllers/api/v1/api_controller.rb:64
|
6%
|
app/controllers/api/v1/api_controller.rb:64
- Average Self
-
1.7ms
- Average calls
- 1x
- Total Self
- 1.7ms
- Total Children
- 0ms
- Total runtime
- 1.7ms
SELECT `users`.* FROM `users` WHERE `users`.`id` = ? LIMIT ?
|
|
sql
app/controllers/api/v1/gym_sectors_controller.rb:107
|
6%
|
app/controllers/api/v1/gym_sectors_controller.rb:107
- Average Self
-
1.5ms
- Average calls
- 1x
- Total Self
- 1.5ms
- Total Children
- 0ms
- Total runtime
- 1.5ms
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
|
6%
|
app/controllers/concerns/gymable.rb:16
- Average Self
-
1.5ms
- Average calls
- 1x
- Total Self
- 1.5ms
- Total Children
- 0ms
- Total runtime
- 1.5ms
SELECT `gyms`.* FROM `gyms` WHERE (`gyms`.`deleted_at` IS NULL OR `gyms`.`deleted_at` > ?) AND `gyms`.`id` = ? LIMIT ?
|
|
sql
app/controllers/api/v1/gym_sectors_controller.rb:103
|
5%
|
app/controllers/api/v1/gym_sectors_controller.rb:103
- Average Self
-
1.4ms
- Average calls
- 1x
- Total Self
- 1.4ms
- Total Children
- 0ms
- Total runtime
- 1.4ms
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/concerns/gym_roles_verification.rb:13
|
5%
|
app/controllers/concerns/gym_roles_verification.rb:13
- Average Self
-
1.4ms
- Average calls
- 1x
- Total Self
- 1.4ms
- Total Children
- 0ms
- Total runtime
- 1.4ms
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:88
|
4%
|
app/controllers/api/v1/gym_sectors_controller.rb:88
- Average Self
-
1.2ms
- Average calls
- 1x
- Total Self
- 1.2ms
- Total Children
- 0ms
- Total runtime
- 1.2ms
SELECT `gym_route_covers`.* FROM `gym_route_covers` WHERE `gym_route_covers`.`id` = ? ORDER BY `gym_route_covers`.`created_at` DESC LIMIT ?
|
|
sql
app/models/gym_route_cover.rb:29
|
2%
|
app/models/gym_route_cover.rb:29
- Average Self
-
1.3ms
- Average calls
- 0.45x
- Total Self
- 0.59ms
- Total Children
- 0ms
- Total runtime
- 0.59ms
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 ?
|