|
code
app/controllers/api/v1/fast_accesses_controller.rb:8
|
50%
|
app/controllers/api/v1/fast_accesses_controller.rb:8
- Average Self
-
13ms
- Average calls
- 1x
- Total Self
- 13ms
- Total Children
- 11ms
- Total runtime
- 24ms
Api::V1::FastAccessesController#index
|
|
sql
app/controllers/api/v1/fast_accesses_controller.rb:15
|
13%
|
app/controllers/api/v1/fast_accesses_controller.rb:15
- Average Self
-
1.1ms
- Average calls
- 3.1x
- Total Self
- 3.5ms
- Total Children
- 0ms
- Total runtime
- 3.5ms
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
|
8%
|
app/controllers/api/v1/fast_accesses_controller.rb:11
- Average Self
-
1.2ms
- Average calls
- 1.7x
- Total Self
- 2.1ms
- Total Children
- 0ms
- Total runtime
- 2.1ms
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
-
1.8ms
- Average calls
- 1x
- Total Self
- 1.8ms
- Total Children
- 24ms
- Total runtime
- 26ms
Rails::Engine#call
|
|
sql
app/controllers/api/v1/api_controller.rb:64
|
6%
|
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 ?
|
|
sql
app/controllers/api/v1/fast_accesses_controller.rb:55
|
5%
|
app/controllers/api/v1/fast_accesses_controller.rb:55
- Average Self
-
1.4ms
- Average calls
- 1x
- Total Self
- 1.4ms
- Total Children
- 0ms
- Total runtime
- 1.4ms
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
|
5%
|
app/models/gym.rb:282
- Average Self
-
1.8ms
- Average calls
- 0.69x
- Total Self
- 1.2ms
- Total Children
- 0ms
- Total runtime
- 1.2ms
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
|
4%
|
app/controllers/api/v1/fast_accesses_controller.rb:20
- Average Self
-
1.1ms
- Average calls
- 1x
- Total Self
- 1.1ms
- Total Children
- 0ms
- Total runtime
- 1.1ms
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.3ms
- Average calls
- 0.26x
- Total Self
- 0.33ms
- Total Children
- 0ms
- Total runtime
- 0.33ms
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.67ms
- Average calls
- 0.08x
- Total Self
- 0.05ms
- Total Children
- 0ms
- Total runtime
- 0.05ms
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.03x
- Total Self
- 0.03ms
- Total Children
- 0ms
- Total runtime
- 0.03ms
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.03x
- Total Self
- 0.03ms
- Total Children
- 0ms
- Total runtime
- 0.03ms
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.03x
- 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.03x
- Total Self
- 0ms
- Total Children
- 0ms
- Total runtime
- 0ms
SELECT `active_storage_blobs`.* FROM `active_storage_blobs` WHERE `active_storage_blobs`.`id` = ? LIMIT ?
|