|
code
app/controllers/api/v1/fast_accesses_controller.rb:8
|
57%
|
app/controllers/api/v1/fast_accesses_controller.rb:8
- Average Self
-
15ms
- Average calls
- 1x
- Total Self
- 15ms
- Total Children
- 10ms
- Total runtime
- 25ms
Api::V1::FastAccessesController#index
|
|
sql
app/controllers/api/v1/fast_accesses_controller.rb:15
|
11%
|
app/controllers/api/v1/fast_accesses_controller.rb:15
- Average Self
-
1ms
- Average calls
- 3x
- Total Self
- 3ms
- Total Children
- 0ms
- Total runtime
- 3ms
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
-
1ms
- Average calls
- 2.7x
- Total Self
- 2.7ms
- Total Children
- 0ms
- Total runtime
- 2.7ms
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
|
6%
|
/var/www/oblyk/api/shared/bundle/ruby/2.6.0/gems/railties-6.0.3.6/lib/rails/engine.rb:525
- Average Self
-
1.8ms
- Average calls
- 1x
- Total Self
- 1.8ms
- Total Children
- 25ms
- Total runtime
- 27ms
Rails::Engine#call
|
|
sql
app/controllers/api/v1/api_controller.rb:64
|
4%
|
app/controllers/api/v1/api_controller.rb:64
- Average Self
-
1.2ms
- Average calls
- 1x
- Total Self
- 1.2ms
- Total Children
- 0ms
- Total runtime
- 1.2ms
SELECT `users`.* FROM `users` WHERE `users`.`id` = ? LIMIT ?
|
|
sql
app/controllers/api/v1/fast_accesses_controller.rb:55
|
4%
|
app/controllers/api/v1/fast_accesses_controller.rb:55
- Average Self
-
1.2ms
- Average calls
- 1x
- Total Self
- 1.2ms
- Total Children
- 0ms
- Total runtime
- 1.2ms
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:282
|
4%
|
app/models/gym.rb:282
- Average Self
-
1.5ms
- Average calls
- 0.65x
- Total Self
- 0.98ms
- Total Children
- 0ms
- Total runtime
- 0.98ms
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
|
3%
|
app/controllers/api/v1/fast_accesses_controller.rb:20
- Average Self
-
0.95ms
- Average calls
- 1x
- Total Self
- 0.95ms
- Total Children
- 0ms
- Total runtime
- 0.95ms
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/fast_accesses_controller.rb:56
|
<1%
|
app/controllers/api/v1/fast_accesses_controller.rb:56
- Average Self
-
1.1ms
- Average calls
- 0.05x
- Total Self
- 0.06ms
- Total Children
- 0ms
- Total runtime
- 0.06ms
SELECT `contest_categories`.* FROM `contest_categories` WHERE `contest_categories`.`id` = ? ORDER BY `contest_categories`.`order` ASC LIMIT ?
|
|
sql
app/models/contest.rb:49
|
<1%
|
app/models/contest.rb:49
- Average Self
-
0.83ms
- Average calls
- 0.02x
- Total Self
- 0.02ms
- Total Children
- 0ms
- Total runtime
- 0.02ms
SELECT COUNT(*) FROM `contest_participants` INNER JOIN `contest_categories` ON `contest_participants`.`contest_category_id` = `contest_categories`.`id` WHERE `contest_categories`.`contest_id` = ?
|
|
sql
app/models/contest.rb:61
|
<1%
|
app/models/contest.rb:61
- Average Self
-
1ms
- Average calls
- <0.01x
- Total Self
- <0.01ms
- Total Children
- 0ms
- Total runtime
- <0.01ms
SELECT `gyms`.* FROM `gyms` WHERE (`gyms`.`deleted_at` IS NULL OR `gyms`.`deleted_at` > ?) AND `gyms`.`id` = ? LIMIT ?
|
|
sql
app/models/concerns/attachment_resizable.rb:10
|
<1%
|
app/models/concerns/attachment_resizable.rb:10
- Average Self
-
1ms
- Average calls
- <0.01x
- Total Self
- <0.01ms
- Total Children
- 0ms
- Total runtime
- <0.01ms
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/contest.rb:114
|
<1%
|
app/models/contest.rb:114
- Average Self
-
0ms
- Average calls
- <0.01x
- Total Self
- 0ms
- Total Children
- 0ms
- Total runtime
- 0ms
SELECT COUNT(*) FROM `contest_participants` INNER JOIN `contest_categories` ON `contest_participants`.`contest_category_id` = `contest_categories`.`id` WHERE `contest_categories`.`contest_id` = ?
|
|
sql
app/models/concerns/attachment_resizable.rb:12
|
<1%
|
app/models/concerns/attachment_resizable.rb:12
- Average Self
-
0ms
- Average calls
- <0.01x
- Total Self
- 0ms
- Total Children
- 0ms
- Total runtime
- 0ms
SELECT `active_storage_blobs`.* FROM `active_storage_blobs` WHERE `active_storage_blobs`.`id` = ? LIMIT ?
|