|
code
app/controllers/api/v1/current_users_controller.rb:221
|
60%
|
app/controllers/api/v1/current_users_controller.rb:221
- Average Self
-
29ms
- Calls
- 1x
- Total Self
- 29ms
- Total Children
- 16ms
- Total runtime
- 45ms
Api::V1::CurrentUsersController#projects
|
|
sql
app/controllers/api/v1/current_users_controller.rb:237
|
23%
|
app/controllers/api/v1/current_users_controller.rb:237
- Average Self
-
1.1ms
- Calls
- 10x
- Total Self
- 11ms
- Total Children
- 0ms
- Total runtime
- 11ms
SELECT `crag_routes`.* FROM `crag_routes` INNER JOIN `crags` ON `crags`.`id` = `crag_routes`.`crag_id` AND (`crags`.`deleted_at` IS NULL OR `crags`.`deleted_at` > ?) WHERE (`crag_routes`.`deleted_at` IS NULL OR `crag_routes`.`deleted_at` > ?) AND `crag_routes`.`id` IN (?) AND `crag_routes`.`id` NOT IN (?) ORDER BY crags.name
|
|
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
-
3ms
- Calls
- 1x
- Total Self
- 3ms
- Total Children
- 45ms
- Total runtime
- 48ms
Rails::Engine#call
|
|
sql
app/controllers/api/v1/api_controller.rb:64
|
4%
|
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:222
|
4%
|
app/controllers/api/v1/current_users_controller.rb:222
- Average Self
-
2ms
- Calls
- 1x
- Total Self
- 2ms
- Total Children
- 0ms
- Total runtime
- 2ms
SELECT `ascents`.`crag_route_id` FROM `ascents` WHERE `ascents`.`type` = ? AND `ascents`.`user_id` = ? AND `ascents`.`ascent_status` = ?
|
|
sql
app/controllers/api/v1/current_users_controller.rb:223
|
2%
|
app/controllers/api/v1/current_users_controller.rb:223
- Average Self
-
1ms
- Calls
- 1x
- Total Self
- 1ms
- Total Children
- 0ms
- Total runtime
- 1ms
SELECT `ascents`.`crag_route_id` FROM `ascents` WHERE `ascents`.`type` = ? AND `ascents`.`user_id` = ? AND `ascents`.`ascent_status` != ?
|