|
sql
app/controllers/api/v1/towns_controller.rb:57
|
46%
|
app/controllers/api/v1/towns_controller.rb:57
- Average Self
-
18ms
- Average calls
- 1.5x
- Total Self
- 27ms
- Total Children
- 0ms
- Total runtime
- 27ms
SELECT `crags`.* FROM `crags` WHERE (`crags`.`deleted_at` IS NULL OR `crags`.`deleted_at` > ?) AND (ST_DISTANCE_SPHERE(POINT(longitude, latitude), POINT(-?, ?)) < ?) ORDER BY `crags`.`id` ASC LIMIT ?
|
|
code
app/controllers/api/v1/towns_controller.rb:50
|
41%
|
app/controllers/api/v1/towns_controller.rb:50
- Average Self
-
24ms
- Average calls
- 1x
- Total Self
- 24ms
- Total Children
- 33ms
- Total runtime
- 57ms
Api::V1::TownsController#geo_json
|
|
sql
app/controllers/api/v1/towns_controller.rb:63
|
7%
|
app/controllers/api/v1/towns_controller.rb:63
- Average Self
-
2.8ms
- Average calls
- 1.5x
- Total Self
- 4.3ms
- Total Children
- 0ms
- Total runtime
- 4.3ms
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 (ST_DISTANCE_SPHERE(POINT(longitude, latitude), POINT(-?, ?)) < ?) 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
|
3%
|
/var/www/oblyk/api/shared/bundle/ruby/2.6.0/gems/railties-6.0.3.6/lib/rails/engine.rb:525
- Average Self
-
2ms
- Average calls
- 1x
- Total Self
- 2ms
- Total Children
- 57ms
- Total runtime
- 59ms
Rails::Engine#call
|
|
sql
app/controllers/api/v1/towns_controller.rb:82
|
2%
|
app/controllers/api/v1/towns_controller.rb:82
- Average Self
-
1.2ms
- Average calls
- 0.91x
- Total Self
- 1.1ms
- Total Children
- 0ms
- Total runtime
- 1.1ms
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.3ms
- Average calls
- 0.09x
- Total Self
- 0.12ms
- Total Children
- 0ms
- Total runtime
- 0.12ms
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
-
4ms
- Average calls
- <0.01x
- Total Self
- 0.04ms
- Total Children
- 0ms
- Total runtime
- 0.04ms
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
-
3ms
- Average calls
- <0.01x
- 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 ?
|