|
code
app/controllers/api/v1/fast_accesses_controller.rb:8
|
48%
|
app/controllers/api/v1/fast_accesses_controller.rb:8
- Average Self
-
15ms
- Average calls
- 1x
- Total Self
- 15ms
- Total Children
- 14ms
- Total runtime
- 29ms
Api::V1::FastAccessesController#index
|
|
sql
app/controllers/api/v1/fast_accesses_controller.rb:15
|
14%
|
app/controllers/api/v1/fast_accesses_controller.rb:15
- Average Self
-
1.3ms
- Average calls
- 3.5x
- Total Self
- 4.4ms
- Total Children
- 0ms
- Total runtime
- 4.4ms
SELECT `follows`.* FROM `follows` WHERE `follows`.`followable_type` = ? AND `follows`.`user_id` = ? ORDER BY `follows`.`updated_at` DESC LIMIT ?
|
|
sql
app/controllers/api/v1/fast_accesses_controller.rb:11
|
10%
|
app/controllers/api/v1/fast_accesses_controller.rb:11
- Average Self
-
1.5ms
- Average calls
- 2.1x
- Total Self
- 3.3ms
- Total Children
- 0ms
- Total runtime
- 3.3ms
SELECT `follows`.* FROM `follows` WHERE `follows`.`followable_type` = ? AND `follows`.`user_id` = ? ORDER BY `follows`.`updated_at` DESC LIMIT ?
|
|
code
/var/www/oblyk/api/shared/bundle/ruby/2.6.0/gems/railties-6.0.3.6/lib/rails/engine.rb:525
|
7%
|
/var/www/oblyk/api/shared/bundle/ruby/2.6.0/gems/railties-6.0.3.6/lib/rails/engine.rb:525
- Average Self
-
2.1ms
- Average calls
- 1x
- Total Self
- 2.1ms
- Total Children
- 29ms
- Total runtime
- 31ms
Rails::Engine#call
|
|
sql
app/controllers/api/v1/fast_accesses_controller.rb:55
|
6%
|
app/controllers/api/v1/fast_accesses_controller.rb:55
- Average Self
-
1.8ms
- Average calls
- 1x
- Total Self
- 1.8ms
- Total Children
- 0ms
- Total runtime
- 1.8ms
SELECT `contest_participants`.* FROM `contest_participants` INNER JOIN `contest_categories` ON `contest_categories`.`id` = `contest_participants`.`contest_category_id` INNER JOIN `contests` ON `contests`.`id` = `contest_categories`.`contest_id` AND (`contests`.`deleted_at` IS NULL OR `contests`.`deleted_at` > ?) WHERE `contest_participants`.`user_id` = ? AND (contests.end_date >= ?) AND (contests.subscription_start_date <= ?)
|
|
sql
app/models/gym.rb:284
|
5%
|
app/models/gym.rb:284
- Average Self
-
2.1ms
- Average calls
- 0.83x
- Total Self
- 1.8ms
- Total Children
- 0ms
- Total runtime
- 1.8ms
SELECT `gym_spaces`.* FROM `gym_spaces` WHERE (`gym_spaces`.`deleted_at` IS NULL OR `gym_spaces`.`deleted_at` > ?) AND `gym_spaces`.`gym_id` = ? ORDER BY `gym_spaces`.`order` ASC
|
|
sql
app/controllers/api/v1/fast_accesses_controller.rb:20
|
5%
|
app/controllers/api/v1/fast_accesses_controller.rb:20
- Average Self
-
1.6ms
- Average calls
- 1x
- Total Self
- 1.6ms
- Total Children
- 0ms
- Total runtime
- 1.6ms
SELECT COUNT(*) AS count_all, `follows`.`followable_type` AS follows_followable_type FROM `follows` WHERE `follows`.`user_id` = ? GROUP BY `follows`.`followable_type`
|
|
sql
app/controllers/api/v1/api_controller.rb:64
|
5%
|
app/controllers/api/v1/api_controller.rb:64
- Average Self
-
1.6ms
- Average calls
- 1x
- Total Self
- 1.6ms
- Total Children
- 0ms
- Total runtime
- 1.6ms
SELECT `users`.* FROM `users` WHERE `users`.`id` = ? LIMIT ?
|