|
code
app/controllers/api/v1/gyms_controller.rb:468
|
47%
|
app/controllers/api/v1/gyms_controller.rb:468
- Average Self
-
11ms
- Average calls
- 1x
- Total Self
- 11ms
- Total Children
- 10ms
- Total runtime
- 22ms
Api::V1::GymsController#routes_by_styles
|
|
sql
app/controllers/api/v1/gyms_controller.rb:476
|
33%
|
app/controllers/api/v1/gyms_controller.rb:476
- Average Self
-
8ms
- Average calls
- 1x
- Total Self
- 8ms
- Total Children
- 0ms
- Total runtime
- 8ms
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
|
10%
|
/var/www/oblyk/api/shared/bundle/ruby/2.6.0/gems/railties-6.0.3.6/lib/rails/engine.rb:525
- Average Self
-
2.3ms
- Average calls
- 1x
- Total Self
- 2.3ms
- Total Children
- 22ms
- Total runtime
- 24ms
Rails::Engine#call
|
|
sql
app/controllers/api/v1/gyms_controller.rb:523
|
6%
|
app/controllers/api/v1/gyms_controller.rb:523
- 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/gyms_controller.rb:471
|
4%
|
app/controllers/api/v1/gyms_controller.rb:471
- Average Self
-
1.2ms
- Average calls
- 0.83x
- Total Self
- 1ms
- Total Children
- 0ms
- Total runtime
- 1ms
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 ?
|