|
sql
app/controllers/api/v1/commons_controller.rb:40
|
33%
|
app/controllers/api/v1/commons_controller.rb:40
- Average Self
-
129ms
- Average calls
- 0.1x
- Total Self
- 13ms
- Total Children
- 0ms
- Total runtime
- 13ms
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
|
26%
|
app/controllers/api/v1/commons_controller.rb:48
- Average Self
-
184ms
- Average calls
- 0.06x
- Total Self
- 10ms
- Total Children
- 0ms
- Total runtime
- 10ms
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
|
18%
|
app/controllers/api/v1/commons_controller.rb:37
- Average Self
-
15ms
- Average calls
- 0.45x
- Total Self
- 7.1ms
- Total Children
- 0ms
- Total runtime
- 7.1ms
SELECT COUNT(*) FROM `users`
|
|
code
app/controllers/api/v1/commons_controller.rb:34
|
10%
|
app/controllers/api/v1/commons_controller.rb:34
- Average Self
-
3.9ms
- Average calls
- 1x
- Total Self
- 3.9ms
- Total Children
- 33ms
- Total runtime
- 37ms
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
-
2.4ms
- Average calls
- 1x
- Total Self
- 2.4ms
- Total Children
- 37ms
- Total runtime
- 40ms
Rails::Engine#call
|
|
sql
app/controllers/api/v1/commons_controller.rb:39
|
6%
|
app/controllers/api/v1/commons_controller.rb:39
- Average Self
-
6.1ms
- Average calls
- 0.39x
- 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.7ms
- Average calls
- 0.14x
- Total Self
- 0.39ms
- Total Children
- 0ms
- Total runtime
- 0.39ms
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
-
3ms
- Average calls
- 0.09x
- Total Self
- 0.26ms
- Total Children
- 0ms
- Total runtime
- 0.26ms
SELECT COUNT(*) FROM `guide_book_papers`
|