|
sql
app/models/search.rb:54
|
51%
|
app/models/search.rb:54
- Average Self
-
43ms
- Average calls
- 0.92x
- Total Self
- 40ms
- Total Children
- 0ms
- Total runtime
- 40ms
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 ?)) OR (index_name LIKE ?)) OR (index_name LIKE ?)) OR (index_name LIKE ?)) OR (index_name LIKE ?)) OR (index_name LIKE ?)) OR (index_name LIKE ?)) OR (index_name LIKE ?)) OR (index_name LIKE ?)) OR (index_name LIKE ?)) OR (index_name LIKE ?)) OR (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
|
34%
|
app/controllers/api/v1/searches_controller.rb:23
- Average Self
-
26ms
- Average calls
- 1x
- Total Self
- 26ms
- Total Children
- 49ms
- Total runtime
- 76ms
Api::V1::SearchesController#search_all
|
|
sql
app/controllers/api/v1/searches_controller.rb:41
|
5%
|
app/controllers/api/v1/searches_controller.rb:41
- Average Self
-
1.2ms
- Average calls
- 3.3x
- Total Self
- 3.9ms
- Total Children
- 0ms
- Total runtime
- 3.9ms
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
|
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
- 76ms
- Total runtime
- 78ms
Rails::Engine#call
|
|
sql
app/controllers/api/v1/searches_controller.rb:43
|
2%
|
app/controllers/api/v1/searches_controller.rb:43
- Average Self
-
0.88ms
- Average calls
- 2.2x
- Total Self
- 1.9ms
- Total Children
- 0ms
- Total runtime
- 1.9ms
SELECT `gyms`.* FROM `gyms` WHERE (`gyms`.`deleted_at` IS NULL OR `gyms`.`deleted_at` > ?) AND `gyms`.`id` IN (?)
|
|
sql
app/models/concerns/attachment_resizable.rb:12
|
2%
|
app/models/concerns/attachment_resizable.rb:12
- Average Self
-
0.82ms
- Average calls
- 1.6x
- Total Self
- 1.3ms
- Total Children
- 0ms
- Total runtime
- 1.3ms
SELECT `active_storage_blobs`.* FROM `active_storage_blobs` WHERE `active_storage_blobs`.`id` = ? LIMIT ?
|
|
sql
app/models/concerns/attachment_resizable.rb:10
|
2%
|
app/models/concerns/attachment_resizable.rb:10
- Average Self
-
0.78ms
- Average calls
- 1.6x
- Total Self
- 1.3ms
- Total Children
- 0ms
- Total runtime
- 1.3ms
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/searches_controller.rb:44
|
<1%
|
app/controllers/api/v1/searches_controller.rb:44
- Average Self
-
1ms
- Average calls
- 0.41x
- Total Self
- 0.41ms
- Total Children
- 0ms
- Total runtime
- 0.41ms
SELECT `guide_book_papers`.* FROM `guide_book_papers` WHERE `guide_book_papers`.`id` IN (?)
|
|
sql
app/models/gym.rb:293
|
<1%
|
app/models/gym.rb:293
- Average Self
-
0.9ms
- Average calls
- 0.2x
- Total Self
- 0.18ms
- Total Children
- 0ms
- Total runtime
- 0.18ms
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:180
|
<1%
|
app/models/gym.rb:180
- Average Self
-
0.9ms
- Average calls
- 0.2x
- Total Self
- 0.18ms
- Total Children
- 0ms
- Total runtime
- 0.18ms
SELECT `gym_options`.* FROM `gym_options` WHERE `gym_options`.`gym_id` = ?
|
|
sql
app/models/gym.rb:282
|
<1%
|
app/models/gym.rb:282
- Average Self
-
1.5ms
- Average calls
- 0.04x
- Total Self
- 0.06ms
- Total Children
- 0ms
- Total runtime
- 0.06ms
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/gym.rb:295
|
<1%
|
app/models/gym.rb:295
- Average Self
-
1ms
- Average calls
- 0.04x
- Total Self
- 0.04ms
- Total Children
- 0ms
- Total runtime
- 0.04ms
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 ?
|