Branch: refs/heads/master
Home: https://github.com/openSUSE/open-build-service
Commit: 3ce8e076188f042600d6c659b24609fff04aae9f
https://github.com/openSUSE/open-build-service/commit/3ce8e076188f042600d6c6...
Author: Ana María Martínez Gómez
Date: 2018-12-18 (Tue, 18 Dec 2018)
Changed paths:
M src/api/app/models/local_build_result.rb
M src/api/app/models/local_build_result/for_package.rb
M src/api/app/views/webui2/webui/package/_buildstatus.html.haml
Log Message:
-----------
Improve efficience of PackageController#buildresults
Pre calculate in the controller if a build result is outdated (not in database
but still temporarily in backend) instead of in the view, generating and SQL
query per result.
MASTER
real=47.93206156800443
NEW CODE
real=21.93289869299042
Co-authored-by: Stephan Kulow
Commit: a301bd74c2054360f658c6de56747f0cc24c381f
https://github.com/openSUSE/open-build-service/commit/a301bd74c2054360f658c6...
Author: Ana María Martínez Gómez
Date: 2018-12-18 (Tue, 18 Dec 2018)
Changed paths:
M src/api/app/views/webui/package/_buildstatus.html.haml
Log Message:
-----------
Improve efficience of bento PackageController#buildresults
Pre calculate in the controller if a build result is outdated (not in database
but still temporarily in backend) instead of in the view, generating and SQL
query per result.
The fix in the new UI implied changing code in the model which was also executed
in the old one. As the fix is so simple now, fix it in the old UI as well.
Commit: 7cd0fb88aeeb7bd353990c27759579e1b738cded
https://github.com/openSUSE/open-build-service/commit/7cd0fb88aeeb7bd353990c...
Author: Stephan Kulow
Date: 2018-12-19 (Wed, 19 Dec 2018)
Changed paths:
M src/api/app/models/local_build_result.rb
M src/api/app/models/local_build_result/for_package.rb
M src/api/app/views/webui/package/_buildstatus.html.haml
M src/api/app/views/webui2/webui/package/_buildstatus.html.haml
Log Message:
-----------
Merge pull request #6657 from Ana06/buildresults
Improve efficience of PackageController#buildresults
Compare: https://github.com/openSUSE/open-build-service/compare/afce60b6d54f...7cd0fb...
**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.