|
sql
app/controllers/api/v1/commons_controller.rb:40
|
35%
|
app/controllers/api/v1/commons_controller.rb:40
- Average Self
-
159ms
- Average calls
- 0.11x
- Total Self
- 18ms
- Total Children
- 0ms
- Total runtime
- 18ms
SELECT COUNT(*) FROM `crag_routes` WHERE (`crag_routes`.`deleted_at` IS NULL OR `crag_routes`.`deleted_at` > ?)
|
|
sql
app/controllers/api/v1/commons_controller.rb:48
|
31%
|
app/controllers/api/v1/commons_controller.rb:48
- Average Self
-
149ms
- Average calls
- 0.1x
- Total Self
- 15ms
- Total Children
- 0ms
- Total runtime
- 15ms
SELECT COUNT(*), gym_id
FROM gyms
INNER JOIN gym_spaces ON gyms.id = gym_spaces.gym_id
INNER JOIN gym_sectors ON gym_spaces.id = gym_sectors.gym_space_id
INNER JOIN gym_routes ON gym_sectors.id = gym_routes.gym_sector_id
WHERE gym_routes.dismounted_at IS NULL
AND gym_routes.opened_at > CURRENT_DATE - INTERVAL ? YEAR
GROUP BY gym_id
HAVING COUNT(*) > ?
|
|
sql
app/controllers/api/v1/commons_controller.rb:37
|
12%
|
app/controllers/api/v1/commons_controller.rb:37
- Average Self
-
12ms
- Average calls
- 0.47x
- Total Self
- 6ms
- Total Children
- 0ms
- Total runtime
- 6ms
SELECT COUNT(*) FROM `users`
|
|
code
app/controllers/api/v1/commons_controller.rb:34
|
10%
|
app/controllers/api/v1/commons_controller.rb:34
- Average Self
-
5.2ms
- Average calls
- 1x
- Total Self
- 5.2ms
- Total Children
- 42ms
- Total runtime
- 47ms
Api::V1::CommonsController#micro_stats
|
|
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
-
3.2ms
- Average calls
- 1x
- Total Self
- 3.2ms
- Total Children
- 47ms
- Total runtime
- 50ms
Rails::Engine#call
|
|
sql
app/controllers/api/v1/commons_controller.rb:39
|
5%
|
app/controllers/api/v1/commons_controller.rb:39
- Average Self
-
5.3ms
- Average calls
- 0.45x
- Total Self
- 2.4ms
- Total Children
- 0ms
- Total runtime
- 2.4ms
SELECT COUNT(*) FROM `crags` WHERE (`crags`.`deleted_at` IS NULL OR `crags`.`deleted_at` > ?)
|
|
sql
app/controllers/api/v1/commons_controller.rb:38
|
1%
|
app/controllers/api/v1/commons_controller.rb:38
- Average Self
-
2.4ms
- Average calls
- 0.26x
- Total Self
- 0.64ms
- Total Children
- 0ms
- Total runtime
- 0.64ms
SELECT COUNT(*) FROM `gyms` WHERE (`gyms`.`deleted_at` IS NULL OR `gyms`.`deleted_at` > ?)
|
|
sql
app/controllers/api/v1/commons_controller.rb:41
|
<1%
|
app/controllers/api/v1/commons_controller.rb:41
- Average Self
-
2.6ms
- Average calls
- 0.02x
- Total Self
- 0.06ms
- Total Children
- 0ms
- Total runtime
- 0.06ms
SELECT COUNT(*) FROM `guide_book_papers`
|