|
code
app/controllers/api/v1/gym_sectors_controller.rb:76
|
42%
|
app/controllers/api/v1/gym_sectors_controller.rb:76
- Average Self
-
51ms
- Average calls
- 1x
- Total Self
- 51ms
- Total Children
- 67ms
- Total runtime
- 118ms
Api::V1::GymSectorsController#dismount_routes
|
|
sql
app/models/gym_route.rb:126
|
38%
|
app/models/gym_route.rb:126
- Average Self
-
1.8ms
- Average calls
- 24x
- Total Self
- 45ms
- Total Children
- 0ms
- Total runtime
- 45ms
BEGIN
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:437
|
7%
|
app/models/gym_route.rb:437
- Average Self
-
1.6ms
- Average calls
- 5x
- Total Self
- 8ms
- Total Children
- 0ms
- Total runtime
- 8ms
SELECT `contest_routes`.* FROM `contest_routes` WHERE `contest_routes`.`gym_route_id` = ? ORDER BY `contest_routes`.`number` ASC
|
|
code
/var/www/oblyk/api/shared/bundle/ruby/2.6.0/gems/railties-6.0.3.6/lib/rails/engine.rb:525
|
2%
|
/var/www/oblyk/api/shared/bundle/ruby/2.6.0/gems/railties-6.0.3.6/lib/rails/engine.rb:525
- Average Self
-
2.9ms
- Average calls
- 1x
- Total Self
- 2.9ms
- Total Children
- 118ms
- Total runtime
- 121ms
Rails::Engine#call
|
|
sql
app/controllers/api/v1/gym_sectors_controller.rb:78
|
2%
|
app/controllers/api/v1/gym_sectors_controller.rb:78
- Average Self
-
2.4ms
- Average calls
- 0.95x
- Total Self
- 2.3ms
- Total Children
- 0ms
- Total runtime
- 2.3ms
SELECT `gym_routes`.* FROM `gym_routes` WHERE `gym_routes`.`dismounted_at` IS NULL AND `gym_routes`.`gym_sector_id` = ?
|
|
sql
app/controllers/concerns/gym_roles_verification.rb:13
|
1%
|
app/controllers/concerns/gym_roles_verification.rb:13
- Average Self
-
1.8ms
- Average calls
- 1x
- Total Self
- 1.8ms
- Total Children
- 0ms
- Total runtime
- 1.8ms
SELECT ? AS one FROM `gym_administrators` WHERE `gym_administrators`.`gym_id` = ? AND `gym_administrators`.`user_id` = ? LIMIT ?
|
|
sql
app/controllers/api/v1/api_controller.rb:26
|
1%
|
app/controllers/api/v1/api_controller.rb:26
- Average Self
-
1.8ms
- Average calls
- 1x
- Total Self
- 1.8ms
- Total Children
- 0ms
- Total runtime
- 1.8ms
SELECT `ip_black_lists`.* FROM `ip_black_lists` WHERE (block_expired_at <= NOW() OR block_expired_at IS NULL) AND `ip_black_lists`.`ip` IS NULL LIMIT ?
|
|
sql
app/controllers/concerns/gym_roles_verification.rb:17
|
1%
|
app/controllers/concerns/gym_roles_verification.rb:17
- Average Self
-
1.7ms
- Average calls
- 1x
- Total Self
- 1.7ms
- Total Children
- 0ms
- Total runtime
- 1.7ms
SELECT `gym_administrators`.* FROM `gym_administrators` WHERE `gym_administrators`.`user_id` = ? AND `gym_administrators`.`gym_id` = ? LIMIT ?
|
|
sql
app/controllers/concerns/gymable.rb:16
|
1%
|
app/controllers/concerns/gymable.rb:16
- Average Self
-
1.6ms
- Average calls
- 1x
- Total Self
- 1.6ms
- Total Children
- 0ms
- Total runtime
- 1.6ms
SELECT `gyms`.* FROM `gyms` WHERE (`gyms`.`deleted_at` IS NULL OR `gyms`.`deleted_at` > ?) AND `gyms`.`id` = ? LIMIT ?
|
|
sql
app/controllers/api/v1/gym_sectors_controller.rb:107
|
1%
|
app/controllers/api/v1/gym_sectors_controller.rb:107
- Average Self
-
1.6ms
- Average calls
- 1x
- Total Self
- 1.6ms
- Total Children
- 0ms
- Total runtime
- 1.6ms
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/controllers/api/v1/gym_sectors_controller.rb:103
|
1%
|
app/controllers/api/v1/gym_sectors_controller.rb:103
- 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`.`id` = ? ORDER BY `gym_sectors`.`order` ASC LIMIT ?
|
|
sql
app/controllers/api/v1/api_controller.rb:64
|
1%
|
app/controllers/api/v1/api_controller.rb:64
- Average Self
-
1.3ms
- Average calls
- 1x
- Total Self
- 1.3ms
- Total Children
- 0ms
- Total runtime
- 1.3ms
SELECT `users`.* FROM `users` WHERE `users`.`id` = ? LIMIT ?
|