|
code
app/controllers/api/v1/log_books/outdoors_controller.rb:30
|
51%
|
app/controllers/api/v1/log_books/outdoors_controller.rb:30
- Average Self
-
7ms
- Average calls
- 1x
- Total Self
- 7ms
- Total Children
- 4.8ms
- Total runtime
- 11ms
Api::V1::LogBooks::OutdoorsController#daily_ascents
|
|
code
/var/www/oblyk/api/shared/bundle/ruby/2.6.0/gems/railties-6.0.3.6/lib/rails/engine.rb:525
|
13%
|
/var/www/oblyk/api/shared/bundle/ruby/2.6.0/gems/railties-6.0.3.6/lib/rails/engine.rb:525
- Average Self
-
1.8ms
- Average calls
- 1x
- Total Self
- 1.8ms
- Total Children
- 11ms
- Total runtime
- 13ms
Rails::Engine#call
|
|
sql
app/controllers/api/v1/api_controller.rb:64
|
13%
|
app/controllers/api/v1/api_controller.rb:64
- Average Self
-
1.8ms
- Average calls
- 1x
- Total Self
- 1.8ms
- Total Children
- 0ms
- Total runtime
- 1.8ms
SELECT `users`.* FROM `users` WHERE `users`.`id` = ? LIMIT ?
|
|
sql
app/controllers/api/v1/log_books/outdoors_controller.rb:34
|
12%
|
app/controllers/api/v1/log_books/outdoors_controller.rb:34
- Average Self
-
1.7ms
- Average calls
- 1x
- Total Self
- 1.7ms
- Total Children
- 0ms
- Total runtime
- 1.7ms
SELECT MIN(`ascents`.`released_at`) FROM `ascents` WHERE `ascents`.`type` = ? AND `ascents`.`user_id` = ? AND `ascents`.`ascent_status` != ?
|
|
sql
app/controllers/api/v1/log_books/outdoors_controller.rb:35
|
9%
|
app/controllers/api/v1/log_books/outdoors_controller.rb:35
- Average Self
-
1.2ms
- Average calls
- 1x
- Total Self
- 1.2ms
- Total Children
- 0ms
- Total runtime
- 1.2ms
SELECT MAX(`ascents`.`released_at`) FROM `ascents` WHERE `ascents`.`type` = ? AND `ascents`.`user_id` = ? AND `ascents`.`ascent_status` != ?
|
|
sql
app/controllers/api/v1/log_books/outdoors_controller.rb:50
|
1%
|
app/controllers/api/v1/log_books/outdoors_controller.rb:50
- Average Self
-
1ms
- Average calls
- 0.17x
- Total Self
- 0.17ms
- Total Children
- 0ms
- Total runtime
- 0.17ms
SELECT `ascents`.* FROM `ascents` WHERE `ascents`.`type` = ? AND `ascents`.`user_id` = ? AND `ascents`.`ascent_status` != ? AND (DATE(released_at) IN(?)) ORDER BY `ascents`.`released_at` ASC
|