|
sql
app/controllers/api/v1/commons_controller.rb:78
|
87%
|
app/controllers/api/v1/commons_controller.rb:78
- Average Self
-
547ms
- Average calls
- 1x
- Total Self
- 547ms
- Total Children
- 0ms
- Total runtime
- 547ms
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
|
7%
|
app/controllers/api/v1/commons_controller.rb:71
- Average Self
-
45ms
- Average calls
- 1x
- Total Self
- 45ms
- Total Children
- 579ms
- Total runtime
- 624ms
Api::V1::CommonsController#last_added
|
|
sql
app/controllers/api/v1/commons_controller.rb:76
|
3%
|
app/controllers/api/v1/commons_controller.rb:76
- Average Self
-
21ms
- Average calls
- 1x
- Total Self
- 21ms
- Total Children
- 0ms
- Total runtime
- 21ms
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
-
7ms
- Average calls
- 1x
- Total Self
- 7ms
- Total Children
- 0ms
- Total runtime
- 7ms
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.7ms
- Average calls
- 1x
- Total Self
- 2.7ms
- Total Children
- 624ms
- Total runtime
- 627ms
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.1x
- 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/models/concerns/attachment_resizable.rb:12
|
<1%
|
app/models/concerns/attachment_resizable.rb:12
- Average Self
-
1ms
- Average calls
- 0.9x
- Total Self
- 0.93ms
- Total Children
- 0ms
- Total runtime
- 0.93ms
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.29x
- Total Self
- 0.36ms
- Total Children
- 0ms
- Total runtime
- 0.36ms
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.29x
- Total Self
- 0.26ms
- Total Children
- 0ms
- Total runtime
- 0.26ms
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.19x
- Total Self
- 0.26ms
- Total Children
- 0ms
- Total runtime
- 0.26ms
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.14x
- Total Self
- 0.19ms
- Total Children
- 0ms
- Total runtime
- 0.19ms
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.07x
- Total Self
- 0.1ms
- Total Children
- 0ms
- Total runtime
- 0.1ms
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.1ms
- Total Children
- 0ms
- Total runtime
- 0.1ms
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.07ms
- Total Children
- 0ms
- Total runtime
- 0.07ms
SELECT `crags`.* FROM `crags` WHERE (`crags`.`deleted_at` IS NULL OR `crags`.`deleted_at` > ?) AND `crags`.`id` = ? LIMIT ?
|