|
code
app/controllers/api/v1/gym_sectors_controller.rb:82
|
47%
|
app/controllers/api/v1/gym_sectors_controller.rb:82
- Average Self
-
8.8ms
- Average calls
- 1x
- Total Self
- 8.8ms
- Total Children
- 8.1ms
- Total runtime
- 16ms
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
-
1.6ms
- Average calls
- 1x
- Total Self
- 1.6ms
- Total Children
- 16ms
- Total runtime
- 18ms
Rails::Engine#call
|
|
sql
app/controllers/api/v1/gym_sectors_controller.rb:84
|
8%
|
app/controllers/api/v1/gym_sectors_controller.rb:84
- Average Self
-
1.5ms
- Average calls
- 1x
- Total Self
- 1.5ms
- Total Children
- 0ms
- Total runtime
- 1.5ms
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/gym_sectors_controller.rb:103
|
7%
|
app/controllers/api/v1/gym_sectors_controller.rb:103
- Average Self
-
1.3ms
- Average calls
- 1x
- Total Self
- 1.3ms
- Total Children
- 0ms
- Total runtime
- 1.3ms
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/api_controller.rb:64
|
7%
|
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
|
6%
|
app/controllers/concerns/gym_roles_verification.rb:13
- Average Self
-
1.1ms
- Average calls
- 1x
- Total Self
- 1.1ms
- Total Children
- 0ms
- Total runtime
- 1.1ms
SELECT ? AS one FROM `gym_administrators` WHERE `gym_administrators`.`gym_id` = ? AND `gym_administrators`.`user_id` = ? LIMIT ?
|
|
sql
app/controllers/concerns/gymable.rb:16
|
6%
|
app/controllers/concerns/gymable.rb:16
- Average Self
-
1.1ms
- Average calls
- 1x
- Total Self
- 1.1ms
- Total Children
- 0ms
- Total runtime
- 1.1ms
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:107
|
5%
|
app/controllers/api/v1/gym_sectors_controller.rb:107
- Average Self
-
0.88ms
- Average calls
- 1x
- Total Self
- 0.88ms
- Total Children
- 0ms
- Total runtime
- 0.88ms
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/gym_sectors_controller.rb:88
|
4%
|
app/controllers/api/v1/gym_sectors_controller.rb:88
- Average Self
-
0.75ms
- Average calls
- 1x
- Total Self
- 0.75ms
- Total Children
- 0ms
- Total runtime
- 0.75ms
SELECT `gym_route_covers`.* FROM `gym_route_covers` WHERE (`gym_route_covers`.`id` IN (?) OR `gym_route_covers`.`id` IS NULL) ORDER BY `gym_route_covers`.`created_at` DESC LIMIT ?
|
|
sql
app/models/gym_route_cover.rb:27
|
<1%
|
app/models/gym_route_cover.rb:27
- Average Self
-
0.5ms
- Average calls
- 0.25x
- Total Self
- 0.13ms
- Total Children
- 0ms
- Total runtime
- 0.13ms
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_cover.rb:31
|
<1%
|
app/models/gym_route_cover.rb:31
- Average Self
-
0.5ms
- Average calls
- 0.25x
- Total Self
- 0.13ms
- Total Children
- 0ms
- Total runtime
- 0.13ms
SELECT `active_storage_blobs`.* FROM `active_storage_blobs` WHERE `active_storage_blobs`.`id` = ? LIMIT ?
|