|
code
app/controllers/api/v1/fast_accesses_controller.rb:8
|
49%
|
app/controllers/api/v1/fast_accesses_controller.rb:8
- Average Self
-
12ms
- Average calls
- 1x
- Total Self
- 12ms
- Total Children
- 11ms
- Total runtime
- 24ms
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.2ms
- Average calls
- 3.1x
- Total Self
- 3.6ms
- Total Children
- 0ms
- Total runtime
- 3.6ms
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
|
13%
|
app/controllers/api/v1/fast_accesses_controller.rb:11
- Average Self
-
1.1ms
- Average calls
- 3x
- Total Self
- 3.4ms
- Total Children
- 0ms
- Total runtime
- 3.4ms
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.6ms
- Average calls
- 1x
- Total Self
- 1.6ms
- Total Children
- 24ms
- Total runtime
- 26ms
Rails::Engine#call
|
|
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/controllers/api/v1/api_controller.rb:64
|
5%
|
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
SET NAMES utf8mb4, @@SESSION.sql_mode = CONCAT(CONCAT(@@sql_mode, ?), ?), @@SESSION.sql_auto_is_null = ?, @@SESSION.wait_timeout = ?
|
|
sql
app/models/gym.rb:282
|
4%
|
app/models/gym.rb:282
- Average Self
-
1.6ms
- Average calls
- 0.7x
- Total Self
- 1.1ms
- Total Children
- 0ms
- Total runtime
- 1.1ms
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
-
1ms
- Average calls
- 1x
- Total Self
- 1ms
- Total Children
- 0ms
- Total runtime
- 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.2ms
- Average calls
- 0.03x
- Total Self
- 0.04ms
- Total Children
- 0ms
- Total runtime
- 0.04ms
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
-
1.1ms
- 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` = ?
|