|
code
app/controllers/api/v1/users_controller.rb:26
|
82%
|
app/controllers/api/v1/users_controller.rb:26
- Average Self
-
46ms
- Average calls
- 1x
- Total Self
- 46ms
- Total Children
- 7.9ms
- Total runtime
- 54ms
Api::V1::UsersController#subscribes
|
|
sql
app/models/follow.rb:52
|
4%
|
app/models/follow.rb:52
- Average Self
-
1.2ms
- Average calls
- 2x
- Total Self
- 2.4ms
- Total Children
- 0ms
- Total runtime
- 2.4ms
SELECT `gyms`.* FROM `gyms` WHERE (`gyms`.`deleted_at` IS NULL OR `gyms`.`deleted_at` > ?) AND `gyms`.`id` = ? LIMIT ?
|
|
code
/var/www/oblyk/api/shared/bundle/ruby/2.6.0/gems/railties-6.0.3.6/lib/rails/engine.rb:525
|
4%
|
/var/www/oblyk/api/shared/bundle/ruby/2.6.0/gems/railties-6.0.3.6/lib/rails/engine.rb:525
- Average Self
-
2.4ms
- Average calls
- 1x
- Total Self
- 2.4ms
- Total Children
- 54ms
- Total runtime
- 57ms
Rails::Engine#call
|
|
sql
app/controllers/api/v1/users_controller.rb:155
|
3%
|
app/controllers/api/v1/users_controller.rb:155
- Average Self
-
1.7ms
- Average calls
- 1x
- Total Self
- 1.7ms
- Total Children
- 0ms
- Total runtime
- 1.7ms
SELECT `users`.* FROM `users` WHERE `users`.`uuid` = ? LIMIT ?
|
|
sql
app/controllers/api/v1/users_controller.rb:29
|
2%
|
app/controllers/api/v1/users_controller.rb:29
- Average Self
-
1.4ms
- Average calls
- 1x
- Total Self
- 1.4ms
- Total Children
- 0ms
- Total runtime
- 1.4ms
SELECT `follows`.* FROM `follows` WHERE `follows`.`user_id` = ? AND `follows`.`accepted_at` IS NOT NULL ORDER BY `follows`.`views` DESC LIMIT ? OFFSET ?
|
|
sql
app/models/follow.rb:53
|
2%
|
app/models/follow.rb:53
- Average Self
-
0.67ms
- Average calls
- 2x
- Total Self
- 1.3ms
- Total Children
- 0ms
- Total runtime
- 1.3ms
SELECT `users`.* FROM `users` WHERE `users`.`id` = ? LIMIT ?
|
|
sql
app/models/concerns/attachment_resizable.rb:10
|
1%
|
app/models/concerns/attachment_resizable.rb:10
- Average Self
-
1.6ms
- Average calls
- 0.5x
- Total Self
- 0.78ms
- Total Children
- 0ms
- Total runtime
- 0.78ms
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
-
1.5ms
- Average calls
- 0.22x
- Total Self
- 0.33ms
- Total Children
- 0ms
- Total runtime
- 0.33ms
SELECT `active_storage_blobs`.* FROM `active_storage_blobs` WHERE `active_storage_blobs`.`id` = ? LIMIT ?
|