[obs-commits] [openSUSE/open-build-service] 09a3e8: Don't loop over partial in staging project show hi...
Branch: refs/heads/master Home: https://github.com/openSUSE/open-build-service Commit: 09a3e87bfa2d5d09a313c0c0df22792c87a1e568 https://github.com/openSUSE/open-build-service/commit/09a3e87bfa2d5d09a313c0... Author: Lukas Krause <lkrause@suse.de> Date: 2019-10-01 (Tue, 01 Oct 2019) Changed paths: M src/api/app/views/webui/staging/projects/_history_elements.html.haml R src/api/app/views/webui/staging/projects/_staging_project_created_history.html.haml R src/api/app/views/webui/staging/projects/_unstaged_staged_request_history.html.haml Log Message: ----------- Don't loop over partial in staging project show history Looping over partials is very inefficient and causes longer rendering times. Moving the logic towards rendering a collection is a bit difficult and the partials are only used at one place. So just getting rid of the partials and moving the code to the history template comes without any disadvantages. Related to #7350 Commit: faec0c073715a207d3b532461e96542454d93d7e https://github.com/openSUSE/open-build-service/commit/faec0c073715a207d3b532... Author: Victor Pereira <vpereira@suse.de> Date: 2019-10-07 (Mon, 07 Oct 2019) Changed paths: M src/api/app/views/webui/staging/projects/_history_elements.html.haml R src/api/app/views/webui/staging/projects/_staging_project_created_history.html.haml R src/api/app/views/webui/staging/projects/_unstaged_staged_request_history.html.haml Log Message: ----------- Merge pull request #8494 from krauselukas/issue_7350 WIP: Improve rendering/loading time of staging project show Compare: https://github.com/openSUSE/open-build-service/compare/bd5071b6603d...faec0c...
participants (1)
-
Victor Pereira