|
sql
app/models/search.rb:54
|
41%
|
app/models/search.rb:54
- Average Self
-
47ms
- Average calls
- 1x
- Total Self
- 47ms
- Total Children
- 0ms
- Total runtime
- 47ms
SELECT DISTINCT `searches`.`index_id`, `searches`.`index_name`, `searches`.`collection` FROM `searches` WHERE ((((index_name LIKE ?) OR (index_name LIKE ?)) OR (index_name LIKE ?)) OR (index_name LIKE ?)) AND `searches`.`collection` IN (?)
|
|
code
app/controllers/api/v1/searches_controller.rb:23
|
36%
|
app/controllers/api/v1/searches_controller.rb:23
- Average Self
-
41ms
- Average calls
- 1x
- Total Self
- 41ms
- Total Children
- 70ms
- Total runtime
- 112ms
Api::V1::SearchesController#search_all
|
|
sql
app/models/concerns/attachment_resizable.rb:10
|
4%
|
app/models/concerns/attachment_resizable.rb:10
- Average Self
-
1.3ms
- Average calls
- 3.8x
- Total Self
- 4.9ms
- Total Children
- 0ms
- Total runtime
- 4.9ms
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
|
4%
|
app/models/concerns/attachment_resizable.rb:12
- Average Self
-
1.3ms
- Average calls
- 3.8x
- Total Self
- 4.8ms
- Total Children
- 0ms
- Total runtime
- 4.8ms
SELECT `active_storage_blobs`.* FROM `active_storage_blobs` WHERE `active_storage_blobs`.`id` = ? LIMIT ?
|
|
sql
app/controllers/api/v1/searches_controller.rb:43
|
4%
|
app/controllers/api/v1/searches_controller.rb:43
- Average Self
-
1.4ms
- Average calls
- 3.2x
- Total Self
- 4.6ms
- Total Children
- 0ms
- Total runtime
- 4.6ms
SELECT `gyms`.* FROM `gyms` WHERE (`gyms`.`deleted_at` IS NULL OR `gyms`.`deleted_at` > ?) AND `gyms`.`id` IN (?)
|
|
sql
app/controllers/api/v1/searches_controller.rb:41
|
4%
|
app/controllers/api/v1/searches_controller.rb:41
- Average Self
-
1.6ms
- Average calls
- 2.8x
- Total Self
- 4.6ms
- Total Children
- 0ms
- Total runtime
- 4.6ms
SELECT `crags`.* FROM `crags` WHERE (`crags`.`deleted_at` IS NULL OR `crags`.`deleted_at` > ?) AND `crags`.`id` IN (?)
|
|
code
/var/www/oblyk/api/shared/bundle/ruby/2.6.0/gems/railties-6.0.3.6/lib/rails/engine.rb:525
|
2%
|
/var/www/oblyk/api/shared/bundle/ruby/2.6.0/gems/railties-6.0.3.6/lib/rails/engine.rb:525
- Average Self
-
2.6ms
- Average calls
- 1x
- Total Self
- 2.6ms
- Total Children
- 112ms
- Total runtime
- 115ms
Rails::Engine#call
|
|
sql
app/controllers/api/v1/searches_controller.rb:44
|
1%
|
app/controllers/api/v1/searches_controller.rb:44
- Average Self
-
1.2ms
- Average calls
- 1.1x
- Total Self
- 1.3ms
- Total Children
- 0ms
- Total runtime
- 1.3ms
SELECT `guide_book_papers`.* FROM `guide_book_papers` WHERE `guide_book_papers`.`id` = ?
|
|
sql
app/controllers/api/v1/searches_controller.rb:47
|
<1%
|
app/controllers/api/v1/searches_controller.rb:47
- Average Self
-
1.2ms
- Average calls
- 0.94x
- Total Self
- 1.1ms
- Total Children
- 0ms
- Total runtime
- 1.1ms
SELECT `areas`.* FROM `areas` WHERE `areas`.`id` = ?
|
|
sql
app/models/gym.rb:295
|
<1%
|
app/models/gym.rb:295
- Average Self
-
1.4ms
- Average calls
- 0.47x
- Total Self
- 0.65ms
- Total Children
- 0ms
- Total runtime
- 0.65ms
SELECT COUNT(*) FROM `gym_spaces` WHERE (`gym_spaces`.`deleted_at` IS NULL OR `gym_spaces`.`deleted_at` > ?) AND `gym_spaces`.`gym_id` = ?
|
|
sql
app/models/gym.rb:182
|
<1%
|
app/models/gym.rb:182
- Average Self
-
1.1ms
- Average calls
- 0.47x
- Total Self
- 0.53ms
- Total Children
- 0ms
- Total runtime
- 0.53ms
SELECT `gym_options`.* FROM `gym_options` WHERE `gym_options`.`gym_id` = ?
|
|
sql
app/models/gym.rb:297
|
<1%
|
app/models/gym.rb:297
- Average Self
-
1.5ms
- Average calls
- 0.12x
- Total Self
- 0.18ms
- Total Children
- 0ms
- Total runtime
- 0.18ms
SELECT `gym_spaces`.* FROM `gym_spaces` WHERE (`gym_spaces`.`deleted_at` IS NULL OR `gym_spaces`.`deleted_at` > ?) AND `gym_spaces`.`gym_id` = ? ORDER BY `gym_spaces`.`order` ASC LIMIT ?
|
|
sql
app/models/gym.rb:284
|
<1%
|
app/models/gym.rb:284
- Average Self
-
1.5ms
- Average calls
- 0.12x
- Total Self
- 0.18ms
- Total Children
- 0ms
- Total runtime
- 0.18ms
SELECT `gym_spaces`.* FROM `gym_spaces` WHERE (`gym_spaces`.`deleted_at` IS NULL OR `gym_spaces`.`deleted_at` > ?) AND `gym_spaces`.`gym_id` = ? ORDER BY `gym_spaces`.`order` ASC
|
|
sql
app/models/area.rb:49
|
<1%
|
app/models/area.rb:49
- Average Self
-
1ms
- Average calls
- 0.06x
- Total Self
- 0.06ms
- Total Children
- 0ms
- Total runtime
- 0.06ms
SELECT `crags`.* FROM `crags` WHERE (`crags`.`deleted_at` IS NULL OR `crags`.`deleted_at` > ?) AND `crags`.`id` = ? LIMIT ?
|