|
code
app/controllers/api/v1/indoor_subscriptions_controller.rb:68
|
58%
|
app/controllers/api/v1/indoor_subscriptions_controller.rb:68
- Average Self
-
14ms
- Calls
- 1x
- Total Self
- 14ms
- Total Children
- 8ms
- Total runtime
- 22ms
Api::V1::IndoorSubscriptionsController#figures
|
|
sql
app/controllers/concerns/gym_roles_verification.rb:17
|
8%
|
app/controllers/concerns/gym_roles_verification.rb:17
- Average Self
-
2ms
- Calls
- 1x
- Total Self
- 2ms
- Total Children
- 0ms
- Total runtime
- 2ms
SELECT `gym_administrators`.* FROM `gym_administrators` WHERE `gym_administrators`.`user_id` = ? AND `gym_administrators`.`gym_id` = ? LIMIT ?
|
|
sql
app/controllers/api/v1/indoor_subscriptions_controller.rb:69
|
8%
|
app/controllers/api/v1/indoor_subscriptions_controller.rb:69
- Average Self
-
2ms
- Calls
- 1x
- Total Self
- 2ms
- Total Children
- 0ms
- Total runtime
- 2ms
SELECT `indoor_subscriptions`.* FROM `indoor_subscriptions` INNER JOIN `indoor_subscription_gyms` ON `indoor_subscriptions`.`id` = `indoor_subscription_gyms`.`indoor_subscription_id` WHERE `indoor_subscription_gyms`.`gym_id` = ? AND (indoor_subscriptions.start_date >= ? AND (indoor_subscriptions.end_date IS NULL OR indoor_subscriptions.end_date <= ?)) ORDER BY `indoor_subscriptions`.`id` ASC LIMIT ?
|
|
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
-
2ms
- Calls
- 1x
- Total Self
- 2ms
- Total Children
- 22ms
- Total runtime
- 24ms
Rails::Engine#call
|
|
sql
app/controllers/api/v1/indoor_subscriptions_controller.rb:72
|
4%
|
app/controllers/api/v1/indoor_subscriptions_controller.rb:72
- Average Self
-
1ms
- Calls
- 1x
- Total Self
- 1ms
- Total Children
- 0ms
- Total runtime
- 1ms
SELECT ? AS one FROM `indoor_subscriptions` INNER JOIN `indoor_subscription_gyms` ON `indoor_subscription_gyms`.`indoor_subscription_id` = `indoor_subscriptions`.`id` INNER JOIN `gyms` ON `gyms`.`id` = `indoor_subscription_gyms`.`gym_id` AND (`gyms`.`deleted_at` IS NULL OR `gyms`.`deleted_at` > ?) WHERE `gyms`.`id` = ? LIMIT ?
|
|
sql
app/controllers/api/v1/api_controller.rb:64
|
4%
|
app/controllers/api/v1/api_controller.rb:64
- Average Self
-
1ms
- Calls
- 1x
- Total Self
- 1ms
- Total Children
- 0ms
- Total runtime
- 1ms
SELECT `users`.* FROM `users` WHERE `users`.`id` = ? LIMIT ?
|
|
sql
app/controllers/concerns/gymable.rb:16
|
4%
|
app/controllers/concerns/gymable.rb:16
- Average Self
-
1ms
- Calls
- 1x
- Total Self
- 1ms
- Total Children
- 0ms
- Total runtime
- 1ms
SELECT `gyms`.* FROM `gyms` WHERE (`gyms`.`deleted_at` IS NULL OR `gyms`.`deleted_at` > ?) AND `gyms`.`id` = ? LIMIT ?
|
|
sql
app/controllers/concerns/gym_roles_verification.rb:13
|
4%
|
app/controllers/concerns/gym_roles_verification.rb:13
- Average Self
-
1ms
- Calls
- 1x
- Total Self
- 1ms
- Total Children
- 0ms
- Total runtime
- 1ms
SELECT ? AS one FROM `gym_administrators` WHERE `gym_administrators`.`gym_id` = ? AND `gym_administrators`.`user_id` = ? LIMIT ?
|