Branch: refs/heads/master
Home: https://github.com/openSUSE/open-build-service
Commit: 6d38e3417f6f7cac7b040cb55fa49ecd682ef5e8
https://github.com/openSUSE/open-build-service/commit/6d38e3417f6f7cac7b040c...
Author: Stephan Kulow
Date: 2018-12-17 (Mon, 17 Dec 2018)
Changed paths:
M src/api/app/controllers/search_controller.rb
Log Message:
-----------
Prefetch all elements required to render requests
/search/request is one of the slowest routes we have and most time
is not spent in searching, but in rendering the results. Help the
model by prefetching all required elements.
One often request route is all pending requests to openSUSE:Factory
Before:
Completed 200 OK in 14263ms (Views: 0.1ms | ActiveRecord: 2358.7ms | Backend: 0.0ms)
After:
Completed 200 OK in 4725ms (Views: 0.1ms | ActiveRecord: 252.8ms | Backend: 0.0ms)
Co-authored-by: Ana María Martínez Gómez
Commit: da422eb40960531ccbb60a1554b0fe086c40c266
https://github.com/openSUSE/open-build-service/commit/da422eb40960531ccbb60a...
Author: Stephan Kulow
Date: 2018-12-17 (Mon, 17 Dec 2018)
Changed paths:
M src/api/app/controllers/search_controller.rb
Log Message:
-----------
Merge pull request #6641 from coolo/prefetch_search_request
Prefetch all elements required to render requests
Compare: https://github.com/openSUSE/open-build-service/compare/d779e1bbcd4f...da422e...
**NOTE:** This service has been marked for deprecation: https://developer.github.com/changes/2018-04-25-github-services-deprecation/
Functionality will be removed from GitHub.com on January 31st, 2019.