|
sql
app/controllers/api/v1/towns_controller.rb:57
|
71%
|
app/controllers/api/v1/towns_controller.rb:57
- Average Self
-
113ms
- Average calls
- 1.6x
- Total Self
- 175ms
- Total Children
- 0ms
- Total runtime
- 175ms
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
|
14%
|
app/controllers/api/v1/towns_controller.rb:50
- Average Self
-
35ms
- Average calls
- 1x
- Total Self
- 35ms
- Total Children
- 208ms
- Total runtime
- 243ms
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.6x
- Total Self
- 30ms
- Total Children
- 0ms
- Total runtime
- 30ms
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.5ms
- Average calls
- 1x
- Total Self
- 2.5ms
- Total Children
- 243ms
- Total runtime
- 245ms
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.94x
- 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.6ms
- Average calls
- 0.09x
- Total Self
- 0.14ms
- Total Children
- 0ms
- Total runtime
- 0.14ms
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.6ms
- Average calls
- 0.06x
- Total Self
- 0.09ms
- Total Children
- 0ms
- Total runtime
- 0.09ms
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.3ms
- Average calls
- 0.04x
- Total Self
- 0.05ms
- Total Children
- 0ms
- Total runtime
- 0.05ms
SELECT `active_storage_blobs`.* FROM `active_storage_blobs` WHERE `active_storage_blobs`.`id` = ? LIMIT ?
|