|
code
app/controllers/api/v1/gyms_controller.rb:286
|
53%
|
app/controllers/api/v1/gyms_controller.rb:286
- Average Self
-
17ms
- Average calls
- 1x
- Total Self
- 17ms
- Total Children
- 12ms
- Total runtime
- 29ms
Api::V1::GymsController#tree_structures
|
|
code
/var/www/oblyk/api/shared/bundle/ruby/2.6.0/gems/railties-6.0.3.6/lib/rails/engine.rb:525
|
8%
|
/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
- 29ms
- Total runtime
- 32ms
Rails::Engine#call
|
|
sql
app/controllers/api/v1/gyms_controller.rb:328
|
6%
|
app/controllers/api/v1/gyms_controller.rb:328
- Average Self
-
2ms
- Average calls
- 1x
- Total Self
- 2ms
- Total Children
- 0ms
- Total runtime
- 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`.`archived_at` IS NOT NULL ORDER BY `gym_spaces`.`order` ASC
|
|
sql
app/controllers/api/v1/gyms_controller.rb:529
|
6%
|
app/controllers/api/v1/gyms_controller.rb:529
- Average Self
-
2ms
- Average calls
- 1x
- Total Self
- 2ms
- Total Children
- 0ms
- Total runtime
- 2ms
SELECT COUNT(*) FROM `gym_administrators` WHERE `gym_administrators`.`gym_id` = ? AND `gym_administrators`.`user_id` = ?
|
|
sql
app/controllers/api/v1/gyms_controller.rb:521
|
5%
|
app/controllers/api/v1/gyms_controller.rb:521
- 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:320
|
5%
|
app/controllers/api/v1/gyms_controller.rb:320
- Average Self
-
1.5ms
- Average calls
- 1x
- Total Self
- 1.5ms
- Total Children
- 0ms
- Total runtime
- 1.5ms
SELECT `gym_sectors`.* FROM `gym_sectors` WHERE (`gym_sectors`.`deleted_at` IS NULL OR `gym_sectors`.`deleted_at` > ?) AND `gym_sectors`.`gym_space_id` = ? ORDER BY `gym_sectors`.`order` ASC
|
|
sql
app/controllers/api/v1/api_controller.rb:64
|
5%
|
app/controllers/api/v1/api_controller.rb:64
- Average Self
-
1.5ms
- Average calls
- 1x
- Total Self
- 1.5ms
- Total Children
- 0ms
- Total runtime
- 1.5ms
SELECT `users`.* FROM `users` WHERE `users`.`id` = ? LIMIT ?
|
|
sql
app/controllers/api/v1/gyms_controller.rb:297
|
5%
|
app/controllers/api/v1/gyms_controller.rb:297
- Average Self
-
1.5ms
- Average calls
- 1x
- Total Self
- 1.5ms
- Total Children
- 0ms
- Total runtime
- 1.5ms
SELECT `gym_space_groups`.* FROM `gym_space_groups` WHERE `gym_space_groups`.`gym_id` = ? ORDER BY `gym_space_groups`.`order` ASC
|
|
sql
app/controllers/api/v1/gyms_controller.rb:318
|
5%
|
app/controllers/api/v1/gyms_controller.rb:318
- Average Self
-
1.5ms
- Average calls
- 1x
- Total Self
- 1.5ms
- Total Children
- 0ms
- Total runtime
- 1.5ms
SELECT `gym_spaces`.* FROM `gym_spaces` WHERE (`gym_spaces`.`deleted_at` IS NULL OR `gym_spaces`.`deleted_at` > ?) AND `gym_spaces`.`gym_id` = ? AND (`archived_at` IS NULL OR `archived_at` > ?) AND `gym_spaces`.`gym_space_group_id` IS NULL ORDER BY `gym_spaces`.`order` ASC
|
|
sql
app/controllers/concerns/gym_roles_verification.rb:17
|
3%
|
app/controllers/concerns/gym_roles_verification.rb:17
- Average Self
-
1ms
- Average calls
- 1x
- Total Self
- 1ms
- Total Children
- 0ms
- Total runtime
- 1ms
SELECT `gym_administrators`.* FROM `gym_administrators` WHERE `gym_administrators`.`user_id` = ? AND `gym_administrators`.`gym_id` = ? LIMIT ?
|