|
code
app/controllers/api/v1/commons_controller.rb:34
|
36%
|
app/controllers/api/v1/commons_controller.rb:34
- Average Self
-
12ms
- Average calls
- 1x
- Total Self
- 12ms
- Total Children
- 19ms
- Total runtime
- 32ms
Api::V1::CommonsController#micro_stats
|
|
sql
app/controllers/api/v1/commons_controller.rb:40
|
24%
|
app/controllers/api/v1/commons_controller.rb:40
- Average Self
-
261ms
- Average calls
- 0.03x
- Total Self
- 8.4ms
- Total Children
- 0ms
- Total runtime
- 8.4ms
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
|
13%
|
app/controllers/api/v1/commons_controller.rb:48
- Average Self
-
140ms
- Average calls
- 0.03x
- Total Self
- 4.5ms
- Total Children
- 0ms
- Total runtime
- 4.5ms
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
|
13%
|
app/controllers/api/v1/commons_controller.rb:37
- Average Self
-
11ms
- Average calls
- 0.39x
- Total Self
- 4.5ms
- Total Children
- 0ms
- Total runtime
- 4.5ms
SELECT COUNT(*) FROM `users`
|
|
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.6ms
- Average calls
- 1x
- Total Self
- 2.6ms
- Total Children
- 32ms
- Total runtime
- 34ms
Rails::Engine#call
|
|
sql
app/controllers/api/v1/commons_controller.rb:39
|
4%
|
app/controllers/api/v1/commons_controller.rb:39
- Average Self
-
6.3ms
- Average calls
- 0.19x
- Total Self
- 1.2ms
- Total Children
- 0ms
- Total runtime
- 1.2ms
SELECT COUNT(*) FROM `crags` WHERE (`crags`.`deleted_at` IS NULL OR `crags`.`deleted_at` > ?)
|
|
sql
app/controllers/api/v1/commons_controller.rb:38
|
3%
|
app/controllers/api/v1/commons_controller.rb:38
- Average Self
-
2.5ms
- Average calls
- 0.45x
- Total Self
- 1.1ms
- Total Children
- 0ms
- Total runtime
- 1.1ms
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
-
2ms
- Average calls
- 0.03x
- Total Self
- 0.06ms
- Total Children
- 0ms
- Total runtime
- 0.06ms
SELECT COUNT(*) FROM `guide_book_papers`
|