|
sql
app/controllers/api/v1/towns_controller.rb:57
|
73%
|
app/controllers/api/v1/towns_controller.rb:57
- Average Self
-
117ms
- Average calls
- 1.5x
- Total Self
- 173ms
- Total Children
- 0ms
- Total runtime
- 173ms
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
-
30ms
- Average calls
- 1x
- Total Self
- 30ms
- Total Children
- 205ms
- Total runtime
- 236ms
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
-
19ms
- 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
- 236ms
- Total runtime
- 239ms
Rails::Engine#call
|
|
sql
app/controllers/api/v1/towns_controller.rb:82
|
<1%
|
app/controllers/api/v1/towns_controller.rb:82
- Average Self
-
1.5ms
- 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/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.1ms
- Total Children
- 0ms
- Total runtime
- 0.1ms
SELECT `organizations`.* FROM `organizations` WHERE `organizations`.`api_access_token` IS NULL LIMIT ?
|
|
sql
app/models/concerns/attachment_resizable.rb:10
|
<1%
|
app/models/concerns/attachment_resizable.rb:10
- Average Self
-
1.5ms
- Average calls
- 0.07x
- Total Self
- 0.1ms
- Total Children
- 0ms
- Total runtime
- 0.1ms
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/models/concerns/attachment_resizable.rb:12
|
<1%
|
app/models/concerns/attachment_resizable.rb:12
- Average Self
-
1.2ms
- Average calls
- 0.02x
- Total Self
- 0.03ms
- Total Children
- 0ms
- Total runtime
- 0.03ms
SELECT `active_storage_blobs`.* FROM `active_storage_blobs` WHERE `active_storage_blobs`.`id` = ? LIMIT ?
|