|
code
app/controllers/api/v1/gyms_controller.rb:466
|
47%
|
app/controllers/api/v1/gyms_controller.rb:466
- Average Self
-
13ms
- Average calls
- 1x
- Total Self
- 13ms
- Total Children
- 12ms
- Total runtime
- 25ms
Api::V1::GymsController#routes_by_styles
|
|
sql
app/controllers/api/v1/gyms_controller.rb:474
|
33%
|
app/controllers/api/v1/gyms_controller.rb:474
- Average Self
-
9.2ms
- Average calls
- 1x
- Total Self
- 9.2ms
- Total Children
- 0ms
- Total runtime
- 9.2ms
SELECT `gym_routes`.* FROM `gym_routes` INNER JOIN `gym_sectors` ON `gym_routes`.`gym_sector_id` = `gym_sectors`.`id` WHERE (`gym_sectors`.`deleted_at` IS NULL OR `gym_sectors`.`deleted_at` > ?) AND `gym_sectors`.`gym_space_id` = ? AND `gym_routes`.`dismounted_at` IS NULL ORDER BY `gym_sectors`.`order` ASC
|
|
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
- 25ms
- Total runtime
- 27ms
Rails::Engine#call
|
|
sql
app/controllers/api/v1/gyms_controller.rb:521
|
7%
|
app/controllers/api/v1/gyms_controller.rb:521
- Average Self
-
1.8ms
- Average calls
- 1x
- Total Self
- 1.8ms
- Total Children
- 0ms
- Total runtime
- 1.8ms
SELECT `gyms`.* FROM `gyms` WHERE (`gyms`.`deleted_at` IS NULL OR `gyms`.`deleted_at` > ?) AND `gyms`.`id` = ? LIMIT ?
|
|
sql
app/controllers/api/v1/gyms_controller.rb:469
|
4%
|
app/controllers/api/v1/gyms_controller.rb:469
- Average Self
-
1.6ms
- Average calls
- 0.78x
- Total Self
- 1.2ms
- Total Children
- 0ms
- Total runtime
- 1.2ms
SELECT `gym_spaces`.* FROM `gym_spaces` WHERE (`gym_spaces`.`deleted_at` IS NULL OR `gym_spaces`.`deleted_at` > ?) AND `gym_spaces`.`gym_id` = ? AND `gym_spaces`.`id` = ? ORDER BY `gym_spaces`.`order` ASC LIMIT ?
|