|
code
app/controllers/api/embedded/gym_routes_controller.rb:43
|
55%
|
app/controllers/api/embedded/gym_routes_controller.rb:43
- Average Self
-
29ms
- Average calls
- 1x
- Total Self
- 29ms
- Total Children
- 21ms
- Total runtime
- 50ms
Api::Embedded::GymRoutesController#show
|
|
sql
app/controllers/api/embedded/gym_routes_controller.rb:60
|
9%
|
app/controllers/api/embedded/gym_routes_controller.rb:60
- Average Self
-
1.2ms
- Average calls
- 4x
- Total Self
- 4.7ms
- Total Children
- 0ms
- Total runtime
- 4.7ms
SELECT `videos`.`id` FROM `videos` WHERE `videos`.`viewable_id` = ? AND `videos`.`viewable_type` = ?
|
|
sql
app/serializers/embedded/gym_route_serializer.rb:61
|
6%
|
app/serializers/embedded/gym_route_serializer.rb:61
- Average Self
-
1ms
- Average calls
- 3x
- Total Self
- 3ms
- Total Children
- 0ms
- Total runtime
- 3ms
SELECT `gym_route_covers`.* FROM `gym_route_covers` WHERE `gym_route_covers`.`id` = ? LIMIT ?
|
|
sql
app/models/gym_route.rb:135
|
6%
|
app/models/gym_route.rb:135
- Average Self
-
1.5ms
- Average calls
- 2x
- Total Self
- 3ms
- Total Children
- 0ms
- Total runtime
- 3ms
SELECT `gyms`.* FROM `gyms` INNER JOIN `gym_spaces` ON `gyms`.`id` = `gym_spaces`.`gym_id` INNER JOIN `gym_sectors` ON `gym_spaces`.`id` = `gym_sectors`.`gym_space_id` WHERE (`gyms`.`deleted_at` IS NULL OR `gyms`.`deleted_at` > ?) AND (`gym_spaces`.`deleted_at` IS NULL OR `gym_spaces`.`deleted_at` > ?) AND (`gym_sectors`.`deleted_at` IS NULL OR `gym_sectors`.`deleted_at` > ?) AND `gym_sectors`.`id` = ? ORDER BY `gym_spaces`.`order` ASC, `gym_sectors`.`order` ASC LIMIT ?
|
|
sql
app/controllers/api/embedded/gym_routes_controller.rb:44
|
4%
|
app/controllers/api/embedded/gym_routes_controller.rb:44
- Average Self
-
2ms
- Average calls
- 1x
- Total Self
- 2ms
- Total Children
- 0ms
- Total runtime
- 2ms
SELECT `gym_routes`.* FROM `gym_routes` INNER JOIN `gym_sectors` ON `gym_routes`.`gym_sector_id` = `gym_sectors`.`id` INNER JOIN `gym_spaces` ON `gym_sectors`.`gym_space_id` = `gym_spaces`.`id` WHERE (`gym_sectors`.`deleted_at` IS NULL OR `gym_sectors`.`deleted_at` > ?) AND (`gym_spaces`.`deleted_at` IS NULL OR `gym_spaces`.`deleted_at` > ?) AND `gym_spaces`.`gym_id` = ? AND `gym_routes`.`id` = ? ORDER BY `gym_sectors`.`order` ASC, `gym_spaces`.`order` ASC LIMIT ?
|
|
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
-
2ms
- Average calls
- 1x
- Total Self
- 2ms
- Total Children
- 50ms
- Total runtime
- 52ms
Rails::Engine#call
|
|
sql
app/serializers/embedded/gym_route_serializer.rb:47
|
3%
|
app/serializers/embedded/gym_route_serializer.rb:47
- Average Self
-
1.7ms
- Average calls
- 1x
- Total Self
- 1.7ms
- Total Children
- 0ms
- Total runtime
- 1.7ms
SELECT `gym_openers`.* FROM `gym_openers` INNER JOIN `gym_route_openers` ON `gym_openers`.`id` = `gym_route_openers`.`gym_opener_id` WHERE `gym_route_openers`.`gym_route_id` = ?
|
|
sql
app/controllers/api/embedded/gym_routes_controller.rb:66
|
3%
|
app/controllers/api/embedded/gym_routes_controller.rb:66
- Average Self
-
1.7ms
- Average calls
- 1x
- Total Self
- 1.7ms
- Total Children
- 0ms
- Total runtime
- 1.7ms
SELECT `gyms`.* FROM `gyms` WHERE (`gyms`.`deleted_at` IS NULL OR `gyms`.`deleted_at` > ?) AND `gyms`.`id` = ? LIMIT ?
|
|
sql
app/models/concerns/attachment_resizable.rb:12
|
2%
|
app/models/concerns/attachment_resizable.rb:12
- Average Self
-
1ms
- Average calls
- 1x
- Total Self
- 1ms
- Total Children
- 0ms
- Total runtime
- 1ms
SELECT `active_storage_blobs`.* FROM `active_storage_blobs` WHERE `active_storage_blobs`.`id` = ? LIMIT ?
|
|
sql
app/models/gym_route.rb:113
|
2%
|
app/models/gym_route.rb:113
- Average Self
-
1ms
- Average calls
- 1x
- Total Self
- 1ms
- Total Children
- 0ms
- Total runtime
- 1ms
SELECT `gym_levels`.* FROM `gym_levels` WHERE `gym_levels`.`gym_id` = ?
|
|
sql
app/models/concerns/attachment_resizable.rb:10
|
2%
|
app/models/concerns/attachment_resizable.rb:10
- Average Self
-
1ms
- Average calls
- 1x
- Total Self
- 1ms
- Total Children
- 0ms
- Total runtime
- 1ms
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_space.rb:170
|
2%
|
app/models/gym_space.rb:170
- Average Self
-
1ms
- Average calls
- 1x
- Total Self
- 1ms
- Total Children
- 0ms
- Total runtime
- 1ms
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/serializers/embedded/gym_route_serializer.rb:55
|
2%
|
app/serializers/embedded/gym_route_serializer.rb:55
- 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/models/gym_space.rb:173
|
1%
|
app/models/gym_space.rb:173
- Average Self
-
1ms
- Average calls
- 0.67x
- Total Self
- 0.67ms
- Total Children
- 0ms
- Total runtime
- 0.67ms
SELECT `active_storage_blobs`.* FROM `active_storage_blobs` WHERE `active_storage_blobs`.`id` = ? LIMIT ?
|