|
code
app/controllers/api/v1/current_users_controller.rb:256
|
63%
|
app/controllers/api/v1/current_users_controller.rb:256
- Average Self
-
13ms
- Average calls
- 1x
- Total Self
- 13ms
- Total Children
- 5.5ms
- Total runtime
- 19ms
Api::V1::CurrentUsersController#ascended_crags_geo_json
|
|
sql
app/controllers/api/v1/current_users_controller.rb:261
|
19%
|
app/controllers/api/v1/current_users_controller.rb:261
- Average Self
-
4ms
- Average calls
- 1x
- Total Self
- 4ms
- Total Children
- 0ms
- Total runtime
- 4ms
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
|
12%
|
/var/www/oblyk/api/shared/bundle/ruby/2.6.0/gems/railties-6.0.3.6/lib/rails/engine.rb:525
- Average Self
-
2.5ms
- Average calls
- 1x
- Total Self
- 2.5ms
- Total Children
- 19ms
- Total runtime
- 21ms
Rails::Engine#call
|
|
sql
app/controllers/api/v1/api_controller.rb:64
|
7%
|
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 ?
|