|
code
app/controllers/api/v1/gym_routes_controller.rb:16
|
66%
|
app/controllers/api/v1/gym_routes_controller.rb:16
- Average Self
-
396ms
- Average calls
- 1x
- Total Self
- 396ms
- Total Children
- 205ms
- Total runtime
- 602ms
Api::V1::GymRoutesController#index
|
|
sql
app/models/gym_route.rb:268
|
5%
|
app/models/gym_route.rb:268
- Average Self
-
1ms
- Average calls
- 30x
- Total Self
- 30ms
- Total Children
- 0ms
- Total runtime
- 30ms
SELECT `gym_spaces`.* FROM `gym_spaces` INNER JOIN `gym_sectors` ON `gym_spaces`.`id` = `gym_sectors`.`gym_space_id` WHERE (`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/models/gym_route.rb:215
|
5%
|
app/models/gym_route.rb:215
- Average Self
-
0.97ms
- Average calls
- 30x
- Total Self
- 29ms
- Total Children
- 0ms
- Total runtime
- 29ms
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/models/gym_route.rb:132
|
5%
|
app/models/gym_route.rb:132
- Average Self
-
0.95ms
- Average calls
- 30x
- Total Self
- 28ms
- Total Children
- 0ms
- Total runtime
- 28ms
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/models/gym_route.rb:48
|
5%
|
app/models/gym_route.rb:48
- Average Self
-
1.1ms
- Average calls
- 26x
- Total Self
- 27ms
- Total Children
- 0ms
- Total runtime
- 27ms
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/models/gym_route.rb:238
|
4%
|
app/models/gym_route.rb:238
- Average Self
-
0.9ms
- Average calls
- 30x
- Total Self
- 27ms
- Total Children
- 0ms
- Total runtime
- 27ms
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/concerns/attachment_resizable.rb:10
|
4%
|
app/models/concerns/attachment_resizable.rb:10
- Average Self
-
0.88ms
- Average calls
- 30x
- Total Self
- 26ms
- Total Children
- 0ms
- Total runtime
- 26ms
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:243
|
3%
|
app/models/gym_route.rb:243
- Average Self
-
0.72ms
- Average calls
- 27x
- Total Self
- 19ms
- Total Children
- 0ms
- Total runtime
- 19ms
SELECT `gym_route_covers`.* FROM `gym_route_covers` WHERE `gym_route_covers`.`id` = ? LIMIT ?
|
|
sql
app/models/concerns/attachment_resizable.rb:12
|
<1%
|
app/models/concerns/attachment_resizable.rb:12
- Average Self
-
0.67ms
- Average calls
- 9x
- Total Self
- 6ms
- Total Children
- 0ms
- Total runtime
- 6ms
SELECT `active_storage_blobs`.* FROM `active_storage_blobs` WHERE `active_storage_blobs`.`id` = ? LIMIT ?
|
|
sql
app/models/gym_route.rb:50
|
<1%
|
app/models/gym_route.rb:50
- Average Self
-
1.4ms
- Average calls
- 4x
- Total Self
- 5.5ms
- Total Children
- 0ms
- Total runtime
- 5.5ms
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 ?
|
|
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
-
3ms
- Average calls
- 1x
- Total Self
- 3ms
- Total Children
- 602ms
- Total runtime
- 605ms
Rails::Engine#call
|
|
sql
app/controllers/api/v1/gym_routes_controller.rb:79
|
<1%
|
app/controllers/api/v1/gym_routes_controller.rb:79
- Average Self
-
2.5ms
- Average calls
- 1x
- Total Self
- 2.5ms
- Total Children
- 0ms
- Total runtime
- 2.5ms
SELECT `gym_routes`.* FROM `gym_routes` INNER JOIN `gym_sectors` ON `gym_sectors`.`id` = `gym_routes`.`gym_sector_id` AND (`gym_sectors`.`deleted_at` IS NULL OR `gym_sectors`.`deleted_at` > ?) INNER JOIN `gym_spaces` ON `gym_spaces`.`id` = `gym_sectors`.`gym_space_id` AND (`gym_spaces`.`deleted_at` IS NULL OR `gym_spaces`.`deleted_at` > ?) WHERE `gym_spaces`.`gym_id` = ? AND `gym_routes`.`dismounted_at` IS NULL
|
|
sql
app/models/gym_route.rb:102
|
<1%
|
app/models/gym_route.rb:102
- Average Self
-
0.05ms
- Average calls
- 30x
- Total Self
- 1.5ms
- Total Children
- 0ms
- Total runtime
- 1.5ms
SELECT `gym_levels`.* FROM `gym_levels` WHERE `gym_levels`.`gym_id` = ?
|
|
sql
app/controllers/concerns/gymable.rb:16
|
<1%
|
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 ?
|