|
code
app/controllers/api/v1/towns_controller.rb:50
|
45%
|
app/controllers/api/v1/towns_controller.rb:50
- Average Self
-
25ms
- Average calls
- 1x
- Total Self
- 25ms
- Total Children
- 29ms
- Total runtime
- 55ms
Api::V1::TownsController#geo_json
|
|
sql
app/controllers/api/v1/towns_controller.rb:57
|
43%
|
app/controllers/api/v1/towns_controller.rb:57
- Average Self
-
15ms
- Average calls
- 1.6x
- Total Self
- 24ms
- Total Children
- 0ms
- Total runtime
- 24ms
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 ?
|
|
sql
app/controllers/api/v1/towns_controller.rb:63
|
8%
|
app/controllers/api/v1/towns_controller.rb:63
- Average Self
-
2.4ms
- Average calls
- 1.8x
- 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
-
1.9ms
- Average calls
- 1x
- Total Self
- 1.9ms
- Total Children
- 55ms
- Total runtime
- 56ms
Rails::Engine#call
|
|
sql
app/controllers/api/v1/towns_controller.rb:82
|
2%
|
app/controllers/api/v1/towns_controller.rb:82
- Average Self
-
1.1ms
- Average calls
- 0.93x
- Total Self
- 0.98ms
- Total Children
- 0ms
- Total runtime
- 0.98ms
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
-
0.96ms
- Average calls
- 0.09x
- 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.1ms
- Average calls
- 0.07x
- 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.1ms
- Average calls
- 0.02x
- Total Self
- 0.02ms
- Total Children
- 0ms
- Total runtime
- 0.02ms
SELECT `active_storage_blobs`.* FROM `active_storage_blobs` WHERE `active_storage_blobs`.`id` = ? LIMIT ?
|