|
sql
app/controllers/api/v1/towns_controller.rb:57
|
72%
|
app/controllers/api/v1/towns_controller.rb:57
- Average Self
-
115ms
- Average calls
- 1.6x
- Total Self
- 181ms
- Total Children
- 0ms
- Total runtime
- 181ms
SELECT `crags`.* FROM `crags` WHERE (`crags`.`deleted_at` IS NULL OR `crags`.`deleted_at` > ?) AND (getRange(latitude, longitude, ?, ?) < ?) ORDER BY `crags`.`id` ASC LIMIT ?
|
|
code
app/controllers/api/v1/towns_controller.rb:50
|
13%
|
app/controllers/api/v1/towns_controller.rb:50
- Average Self
-
32ms
- Average calls
- 1x
- Total Self
- 32ms
- Total Children
- 214ms
- Total runtime
- 247ms
Api::V1::TownsController#geo_json
|
|
sql
app/controllers/api/v1/towns_controller.rb:63
|
13%
|
app/controllers/api/v1/towns_controller.rb:63
- Average Self
-
18ms
- Average calls
- 1.7x
- Total Self
- 32ms
- Total Children
- 0ms
- Total runtime
- 32ms
SELECT `gyms`.`id`, `gyms`.`name`, `gyms`.`longitude`, `gyms`.`latitude`, `gyms`.`updated_at` FROM `gyms` WHERE (`gyms`.`deleted_at` IS NULL OR `gyms`.`deleted_at` > ?) AND (getRange(latitude, longitude, ?, ?) < ?) ORDER BY `gyms`.`id` ASC LIMIT ?
|
|
code
/var/www/oblyk/api/shared/bundle/ruby/2.6.0/gems/railties-6.0.3.6/lib/rails/engine.rb:525
|
<1%
|
/var/www/oblyk/api/shared/bundle/ruby/2.6.0/gems/railties-6.0.3.6/lib/rails/engine.rb:525
- Average Self
-
2.4ms
- Average calls
- 1x
- Total Self
- 2.4ms
- Total Children
- 247ms
- Total runtime
- 249ms
Rails::Engine#call
|
|
sql
app/controllers/api/v1/towns_controller.rb:82
|
<1%
|
app/controllers/api/v1/towns_controller.rb:82
- Average Self
-
1.4ms
- Average calls
- 0.96x
- Total Self
- 1.4ms
- Total Children
- 0ms
- Total runtime
- 1.4ms
SELECT `towns`.* FROM `towns` WHERE `towns`.`slug_name` = ? LIMIT ?
|
|
sql
app/models/concerns/attachment_resizable.rb:10
|
<1%
|
app/models/concerns/attachment_resizable.rb:10
- Average Self
-
1.5ms
- Average calls
- 0.06x
- Total Self
- 0.09ms
- Total Children
- 0ms
- Total runtime
- 0.09ms
SELECT `active_storage_attachments`.* FROM `active_storage_attachments` WHERE `active_storage_attachments`.`record_id` = ? AND `active_storage_attachments`.`record_type` = ? AND `active_storage_attachments`.`name` = ? LIMIT ?
|
|
sql
app/controllers/api/v1/api_controller.rb:50
|
<1%
|
app/controllers/api/v1/api_controller.rb:50
- Average Self
-
1.5ms
- Average calls
- 0.05x
- Total Self
- 0.07ms
- Total Children
- 0ms
- Total runtime
- 0.07ms
SELECT `organizations`.* FROM `organizations` WHERE `organizations`.`api_access_token` IS NULL LIMIT ?
|
|
sql
app/models/concerns/attachment_resizable.rb:12
|
<1%
|
app/models/concerns/attachment_resizable.rb:12
- Average Self
-
1.2ms
- Average calls
- 0.03x
- Total Self
- 0.04ms
- Total Children
- 0ms
- Total runtime
- 0.04ms
SELECT `active_storage_blobs`.* FROM `active_storage_blobs` WHERE `active_storage_blobs`.`id` = ? LIMIT ?
|