|
code
app/controllers/api/v1/areas_controller.rb:129
|
53%
|
app/controllers/api/v1/areas_controller.rb:129
- Average Self
-
69ms
- Average calls
- 1x
- Total Self
- 69ms
- Total Children
- 58ms
- Total runtime
- 127ms
Api::V1::AreasController#photos
|
|
sql
app/controllers/api/v1/areas_controller.rb:139
|
27%
|
app/controllers/api/v1/areas_controller.rb:139
- Average Self
-
6.1ms
- Average calls
- 5.7x
- Total Self
- 34ms
- Total Children
- 0ms
- Total runtime
- 34ms
SELECT `photos`.* FROM `photos` WHERE ((illustrable_type = "Crag" AND illustrable_id IN (?)) OR
(illustrable_type = "CragSector" AND illustrable_id IN (?))) OR
(illustrable_type = "CragRoute" AND illustrable_id IN (?)))) ORDER BY `photos`.`posted_at` DESC LIMIT ? OFFSET ?
|
|
sql
app/models/photo.rb:71
|
17%
|
app/models/photo.rb:71
- Average Self
-
1ms
- Average calls
- 21x
- Total Self
- 22ms
- Total Children
- 0ms
- Total runtime
- 22ms
SELECT `crags`.* FROM `crags` WHERE (`crags`.`deleted_at` IS NULL OR `crags`.`deleted_at` > ?) AND `crags`.`id` = ? LIMIT ?
|
|
code
/var/www/oblyk/api/shared/bundle/ruby/2.6.0/gems/railties-6.0.3.6/lib/rails/engine.rb:525
|
2%
|
/var/www/oblyk/api/shared/bundle/ruby/2.6.0/gems/railties-6.0.3.6/lib/rails/engine.rb:525
- Average Self
-
2.3ms
- Average calls
- 1x
- Total Self
- 2.3ms
- Total Children
- 127ms
- Total runtime
- 129ms
Rails::Engine#call
|
|
sql
app/controllers/api/v1/areas_controller.rb:194
|
<1%
|
app/controllers/api/v1/areas_controller.rb:194
- Average Self
-
1ms
- Average calls
- 1x
- Total Self
- 1ms
- Total Children
- 0ms
- Total runtime
- 1ms
SELECT `areas`.* FROM `areas` WHERE `areas`.`id` = ? LIMIT ?
|