|
sql
app/controllers/api/v1/commons_controller.rb:78
|
86%
|
app/controllers/api/v1/commons_controller.rb:78
- Average Self
-
513ms
- Average calls
- 1x
- Total Self
- 513ms
- Total Children
- 0ms
- Total runtime
- 513ms
SELECT `crag_routes`.* FROM `crag_routes` WHERE (`crag_routes`.`deleted_at` IS NULL OR `crag_routes`.`deleted_at` > ?) ORDER BY `crag_routes`.`created_at` DESC LIMIT ?
|
|
code
app/controllers/api/v1/commons_controller.rb:71
|
8%
|
app/controllers/api/v1/commons_controller.rb:71
- Average Self
-
46ms
- Average calls
- 1x
- Total Self
- 46ms
- Total Children
- 545ms
- Total runtime
- 592ms
Api::V1::CommonsController#last_added
|
|
sql
app/controllers/api/v1/commons_controller.rb:76
|
4%
|
app/controllers/api/v1/commons_controller.rb:76
- Average Self
-
20ms
- Average calls
- 1x
- Total Self
- 20ms
- Total Children
- 0ms
- Total runtime
- 20ms
SELECT `crags`.* FROM `crags` WHERE (`crags`.`deleted_at` IS NULL OR `crags`.`deleted_at` > ?) AND `crags`.`photo_id` IS NOT NULL ORDER BY `crags`.`created_at` DESC LIMIT ?
|
|
sql
app/controllers/api/v1/commons_controller.rb:77
|
1%
|
app/controllers/api/v1/commons_controller.rb:77
- Average Self
-
7.1ms
- Average calls
- 1x
- Total Self
- 7.1ms
- Total Children
- 0ms
- Total runtime
- 7.1ms
SELECT `gyms`.* FROM `gyms` WHERE (`gyms`.`deleted_at` IS NULL OR `gyms`.`deleted_at` > ?) ORDER BY `gyms`.`created_at` DESC 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.8ms
- Average calls
- 1x
- Total Self
- 2.8ms
- Total Children
- 592ms
- Total runtime
- 595ms
Rails::Engine#call
|
|
sql
app/models/concerns/attachment_resizable.rb:10
|
<1%
|
app/models/concerns/attachment_resizable.rb:10
- Average Self
-
1.1ms
- Average calls
- 1.3x
- Total Self
- 1.4ms
- Total Children
- 0ms
- Total runtime
- 1.4ms
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
-
1ms
- Average calls
- 1x
- Total Self
- 1.1ms
- Total Children
- 0ms
- Total runtime
- 1.1ms
SELECT `active_storage_blobs`.* FROM `active_storage_blobs` WHERE `active_storage_blobs`.`id` = ? LIMIT ?
|
|
sql
app/models/gym.rb:295
|
<1%
|
app/models/gym.rb:295
- Average Self
-
1.3ms
- Average calls
- 0.32x
- Total Self
- 0.41ms
- Total Children
- 0ms
- Total runtime
- 0.41ms
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
-
0.92ms
- Average calls
- 0.32x
- Total Self
- 0.3ms
- Total Children
- 0ms
- Total runtime
- 0.3ms
SELECT `gym_options`.* FROM `gym_options` WHERE `gym_options`.`gym_id` = ?
|
|
sql
app/models/crag.rb:190
|
<1%
|
app/models/crag.rb:190
- Average Self
-
1.4ms
- Average calls
- 0.22x
- Total Self
- 0.3ms
- Total Children
- 0ms
- Total runtime
- 0.3ms
SELECT `photos`.* FROM `photos` WHERE `photos`.`id` = ? LIMIT ?
|
|
sql
app/models/gym.rb:297
|
<1%
|
app/models/gym.rb:297
- Average Self
-
1.3ms
- Average calls
- 0.16x
- Total Self
- 0.22ms
- Total Children
- 0ms
- Total runtime
- 0.22ms
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.3ms
- Average calls
- 0.08x
- Total Self
- 0.11ms
- Total Children
- 0ms
- Total runtime
- 0.11ms
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/crag_route.rb:199
|
<1%
|
app/models/crag_route.rb:199
- Average Self
-
2ms
- Average calls
- 0.05x
- Total Self
- 0.11ms
- Total Children
- 0ms
- Total runtime
- 0.11ms
SELECT `crag_sectors`.* FROM `crag_sectors` WHERE (`crag_sectors`.`deleted_at` IS NULL OR `crag_sectors`.`deleted_at` > ?) AND `crag_sectors`.`id` = ? LIMIT ?
|
|
sql
app/models/crag_route.rb:200
|
<1%
|
app/models/crag_route.rb:200
- Average Self
-
1.5ms
- Average calls
- 0.05x
- Total Self
- 0.08ms
- Total Children
- 0ms
- Total runtime
- 0.08ms
SELECT `crags`.* FROM `crags` WHERE (`crags`.`deleted_at` IS NULL OR `crags`.`deleted_at` > ?) AND `crags`.`id` = ? LIMIT ?
|