|
code
app/controllers/api/v1/gym_routes_controller.rb:204
|
54%
|
app/controllers/api/v1/gym_routes_controller.rb:204
- Average Self
-
9.6ms
- Average calls
- 1x
- Total Self
- 9.6ms
- Total Children
- 6ms
- Total runtime
- 15ms
Api::V1::GymRoutesController#show
|
|
code
/var/www/oblyk/api/shared/bundle/ruby/2.6.0/gems/railties-6.0.3.6/lib/rails/engine.rb:525
|
11%
|
/var/www/oblyk/api/shared/bundle/ruby/2.6.0/gems/railties-6.0.3.6/lib/rails/engine.rb:525
- Average Self
-
2ms
- Average calls
- 1x
- Total Self
- 2ms
- Total Children
- 15ms
- Total runtime
- 17ms
Rails::Engine#call
|
|
sql
app/controllers/concerns/gymable.rb:16
|
7%
|
app/controllers/concerns/gymable.rb:16
- Average Self
-
1.2ms
- Average calls
- 0.96x
- Total Self
- 1.1ms
- Total Children
- 0ms
- Total runtime
- 1.1ms
SELECT `gyms`.* FROM `gyms` WHERE (`gyms`.`deleted_at` IS NULL OR `gyms`.`deleted_at` > ?) AND `gyms`.`id` = ? LIMIT ?
|
|
sql
app/controllers/api/v1/gym_routes_controller.rb:413
|
6%
|
app/controllers/api/v1/gym_routes_controller.rb:413
- Average Self
-
1.2ms
- Average calls
- 0.96x
- Total Self
- 1.1ms
- Total Children
- 0ms
- Total runtime
- 1.1ms
SELECT `gym_spaces`.* FROM `gym_spaces` WHERE (`gym_spaces`.`deleted_at` IS NULL OR `gym_spaces`.`deleted_at` > ?) AND `gym_spaces`.`id` = ? ORDER BY `gym_spaces`.`order` ASC LIMIT ?
|
|
sql
app/controllers/api/v1/gym_routes_controller.rb:421
|
5%
|
app/controllers/api/v1/gym_routes_controller.rb:421
- Average Self
-
1ms
- Average calls
- 0.96x
- Total Self
- 0.96ms
- Total Children
- 0ms
- Total runtime
- 0.96ms
SELECT `gym_routes`.* FROM `gym_routes` WHERE `gym_routes`.`id` = ? LIMIT ?
|
|
sql
app/controllers/api/v1/api_controller.rb:73
|
5%
|
app/controllers/api/v1/api_controller.rb:73
- Average Self
-
0.89ms
- Average calls
- 0.96x
- Total Self
- 0.86ms
- Total Children
- 0ms
- Total runtime
- 0.86ms
SELECT `users`.* FROM `users` WHERE `users`.`id` = ? LIMIT ?
|
|
sql
app/models/gym_route.rb:288
|
5%
|
app/models/gym_route.rb:288
- Average Self
-
0.87ms
- Average calls
- 0.96x
- Total Self
- 0.84ms
- Total Children
- 0ms
- Total runtime
- 0.84ms
SELECT `gym_sectors`.* FROM `gym_sectors` WHERE (`gym_sectors`.`deleted_at` IS NULL OR `gym_sectors`.`deleted_at` > ?) AND `gym_sectors`.`id` = ? ORDER BY `gym_sectors`.`order` ASC LIMIT ?
|
|
sql
app/models/gym_route_ascents_mapper.rb:26
|
5%
|
app/models/gym_route_ascents_mapper.rb:26
- Average Self
-
0.85ms
- Average calls
- 0.96x
- Total Self
- 0.82ms
- Total Children
- 0ms
- Total runtime
- 0.82ms
SELECT COUNT(*) FROM `ascents` WHERE `ascents`.`type` = ? AND `ascents`.`user_id` = ? AND `ascents`.`gym_route_id` = ?
|
|
sql
app/models/gym_route_ascents_mapper.rb:29
|
1%
|
app/models/gym_route_ascents_mapper.rb:29
- Average Self
-
1.1ms
- Average calls
- 0.2x
- Total Self
- 0.22ms
- Total Children
- 0ms
- Total runtime
- 0.22ms
SELECT `ascents`.* FROM `ascents` WHERE `ascents`.`type` = ? AND `ascents`.`user_id` = ? AND `ascents`.`gym_route_id` = ? ORDER BY FIELD(ascent_status, "onsight", "flash", "red_point", "sent", "repetition", "project")
|
|
sql
app/controllers/api/v1/api_controller.rb:50
|
<1%
|
app/controllers/api/v1/api_controller.rb:50
- Average Self
-
1ms
- Average calls
- 0.04x
- Total Self
- 0.04ms
- Total Children
- 0ms
- Total runtime
- 0.04ms
SELECT `organizations`.* FROM `organizations` WHERE `organizations`.`api_access_token` IS NULL LIMIT ?
|
|
sql
app/models/gym_route_ascents_mapper.rb:28
|
<1%
|
app/models/gym_route_ascents_mapper.rb:28
- Average Self
-
0ms
- Average calls
- 0.2x
- Total Self
- 0ms
- Total Children
- 0ms
- Total runtime
- 0ms
SELECT COUNT(*) FROM `ascents` WHERE `ascents`.`type` = ? AND `ascents`.`user_id` = ? AND `ascents`.`gym_route_id` = ?
|