|
code
app/controllers/api/v1/current_users_controller.rb:256
|
55%
|
app/controllers/api/v1/current_users_controller.rb:256
- Average Self
-
6ms
- Calls
- 1x
- Total Self
- 6ms
- Total Children
- 3ms
- Total runtime
- 9ms
Api::V1::CurrentUsersController#ascended_crags_geo_json
|
|
code
/var/www/oblyk/api/shared/bundle/ruby/2.6.0/gems/railties-6.0.3.6/lib/rails/engine.rb:525
|
18%
|
/var/www/oblyk/api/shared/bundle/ruby/2.6.0/gems/railties-6.0.3.6/lib/rails/engine.rb:525
- Average Self
-
2ms
- Calls
- 1x
- Total Self
- 2ms
- Total Children
- 9ms
- Total runtime
- 11ms
Rails::Engine#call
|
|
sql
app/controllers/api/v1/api_controller.rb:64
|
18%
|
app/controllers/api/v1/api_controller.rb:64
- Average Self
-
2ms
- Calls
- 1x
- Total Self
- 2ms
- Total Children
- 0ms
- Total runtime
- 2ms
SELECT `users`.* FROM `users` WHERE `users`.`id` = ? LIMIT ?
|
|
sql
app/controllers/api/v1/current_users_controller.rb:261
|
9%
|
app/controllers/api/v1/current_users_controller.rb:261
- Average Self
-
1ms
- Calls
- 1x
- Total Self
- 1ms
- Total Children
- 0ms
- Total runtime
- 1ms
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` = ?
|