|
code
app/controllers/api/v1/current_users_controller.rb:256
|
61%
|
app/controllers/api/v1/current_users_controller.rb:256
- Average Self
-
21ms
- Average calls
- 1x
- Total Self
- 21ms
- Total Children
- 11ms
- Total runtime
- 32ms
Api::V1::CurrentUsersController#ascended_crags_geo_json
|
|
sql
app/controllers/api/v1/current_users_controller.rb:261
|
27%
|
app/controllers/api/v1/current_users_controller.rb:261
- Average Self
-
9.5ms
- Average calls
- 1x
- Total Self
- 9.5ms
- Total Children
- 0ms
- Total runtime
- 9.5ms
SELECT DISTINCT `crags`.* FROM `crags` INNER JOIN `crag_routes` ON `crags`.`id` = `crag_routes`.`crag_id` INNER JOIN `ascents` ON `crag_routes`.`id` = `ascents`.`crag_route_id` WHERE (`crags`.`deleted_at` IS NULL OR `crags`.`deleted_at` > ?) AND (`crag_routes`.`deleted_at` IS NULL OR `crag_routes`.`deleted_at` > ?) AND `ascents`.`type` = ? AND `ascents`.`user_id` = ?
|
|
code
/var/www/oblyk/api/shared/bundle/ruby/2.6.0/gems/railties-6.0.3.6/lib/rails/engine.rb:525
|
8%
|
/var/www/oblyk/api/shared/bundle/ruby/2.6.0/gems/railties-6.0.3.6/lib/rails/engine.rb:525
- Average Self
-
3ms
- Average calls
- 1x
- Total Self
- 3ms
- Total Children
- 32ms
- Total runtime
- 35ms
Rails::Engine#call
|
|
sql
app/controllers/api/v1/api_controller.rb:64
|
4%
|
app/controllers/api/v1/api_controller.rb:64
- Average Self
-
1.5ms
- Average calls
- 1x
- Total Self
- 1.5ms
- Total Children
- 0ms
- Total runtime
- 1.5ms
SELECT `users`.* FROM `users` WHERE `users`.`id` = ? LIMIT ?
|