{"id":{"repo_id":"queens","oai_identifier":"oai:queensu.scholaris.ca:1974/31996"},"canonical_url":"https://search.ndltd.org/etd/queens/oai:queensu.scholaris.ca:1974/31996","repository":{"repo_id":"queens","name":"Queens University","base_url":"https://qspace.library.queensu.ca/server/oai/request"},"display":{"title":"Pragmatic Approaches to Schedule Less Builds in Continuous Integration","abstract":"Continuous integration (CI) is an efficient practice used for code integration and testing of software products. Yet, for large software projects, developers push hundreds of commits to the main code base everyday. Ensuring the quality of all these commits involves building, i.e., compiling and testing, every incoming commit in the CI environment. At the same time, dozens of additional builds also need to be performed to ensure that the software can reliably be executed on all supported platforms, hardware and configurations. Hence, CI becomes an expensive process. In this thesis, we study techniques that can help reduce the cost of CI by scheduling less builds. We study the existing approaches SmartBuildSkip, CI-Skip rules and Batching algorithms (Batch4, BatchStop4, BatchDivide4 and BatchBisect), then perform empirical studies to analyse the advantages and drawbacks of existing techniques and propose 3 novel heuristics based on them i.e., ML-CI, Timeout Rule and Lightweight Dynamic batching. In our two large scale studies of 79,482 builds from 20 open-source projects and 286,848 commits from 50 open-source projects, we find that our novel heuristics can match the performance of state-of-the-art heuristics and even improve upon them by enhancing them with simple history based features. In particular, we observe that by combining the prediction power of SmartBuildSkip with the ability of Batching algorithms to drastically reduce the number of scheduled builds during CI in our ML-CI and Timeout rule approach, we require 38.21% less builds than batching algorithms and 96% less turn-around-time than SmartBuildSkip. Moreover, we find that we can use simple and lightweight techniques to further enhance the performance of static batching algorithms by 4.3% to 11.9% and can also match the performance of the more complex state-of-the-art dynamic batching algorithm.","abstract_html":"Continuous integration (CI) is an efficient practice used for code integration and testing of software products. Yet, for large software projects, developers push hundreds of commits to the main code base everyday. Ensuring the quality of all these commits involves building, i.e., compiling and testing, every incoming commit in the CI environment. At the same time, dozens of additional builds also need to be performed to ensure that the software can reliably be executed on all supported platforms, hardware and configurations. Hence, CI becomes an expensive process. In this thesis, we study techniques that can help reduce the cost of CI by scheduling less builds. We study the existing approaches SmartBuildSkip, CI-Skip rules and Batching algorithms (Batch4, BatchStop4, BatchDivide4 and BatchBisect), then perform empirical studies to analyse the advantages and drawbacks of existing techniques and propose 3 novel heuristics based on them i.e., ML-CI, Timeout Rule and Lightweight Dynamic batching. In our two large scale studies of 79,482 builds from 20 open-source projects and 286,848 commits from 50 open-source projects, we find that our novel heuristics can match the performance of state-of-the-art heuristics and even improve upon them by enhancing them with simple history based features. In particular, we observe that by combining the prediction power of SmartBuildSkip with the ability of Batching algorithms to drastically reduce the number of scheduled builds during CI in our ML-CI and Timeout rule approach, we require 38.21% less builds than batching algorithms and 96% less turn-around-time than SmartBuildSkip. Moreover, we find that we can use simple and lightweight techniques to further enhance the performance of static batching algorithms by 4.3% to 11.9% and can also match the performance of the more complex state-of-the-art dynamic batching algorithm.","abstract_has_math":false,"creators":["Kamath, Divya M."],"institution":"Queen's University at Kingston","degree_name":null,"degree_level":null,"degree_discipline":null,"degree_department":"Computing","school":null,"contributors":[],"advisors":["Adams, Bram"],"committee_chairs":[],"committee_members":[],"year":null,"date_issued":"","date_published":null,"updated_at":"2026-11-19T09:13:03Z","subjects":["Software builds","Build avoidance heuristic","Software analysis","Empirical study"],"languages":["eng"],"rights":[],"rights_urls":[],"identifier_entries":[],"person_identifier_entries":[]},"links":{"outbound_url":"https://hdl.handle.net/1974/31996","outbound_label":"Handle","outbound_source":"dc:identifier.uri","record_url":"https://hdl.handle.net/1974/31996","record_label":"Repository record","record_kind":"handle","record_source":"dc:identifier.uri","access_status":null,"embargo_until":null,"access_note":null},"oai_pmh_record":{"url":"https://union.ndltd.org/oai-pmh/?verb=GetRecord&metadataPrefix=oai_dc&identifier=oai%3Aunion.ndltd.org%3Arepo%3Aqueens%3Aoai%3Aqueensu.scholaris.ca%3A1974%2F31996","prefix":"oai_dc"},"source_record":{"url":"https://qspace.library.queensu.ca/server/oai/request?verb=GetRecord&metadataPrefix=dim&identifier=oai%3Aqueensu.scholaris.ca%3A1974%2F31996","prefix":"dim"},"metadata_groups":[{"id":"people","label":"People","entries":[{"key":"dc:contributor.department","label":"Department","values":["Computing"]},{"key":"dc:contributor.supervisor","label":"Supervisor","values":["Adams, Bram"]},{"key":"dc:creator","label":"Author","values":["Kamath, Divya M."]}]},{"id":"academic_context","label":"Academic Context","entries":[{"key":"dc:date.accessioned","label":"Dc Date Accessioned","values":["8/31/2023","2023-10-16T14:06:35Z"]},{"key":"dc:date.available","label":"Dc Date Available","values":["9/5/2023","2023-10-16T14:06:35Z"]},{"key":"dc:relation.ispartofseries","label":"Dc Relation Ispartofseries","values":["Canadian theses"]},{"key":"dc:type","label":"Dc Type","values":["thesis"]},{"key":"thesis:institution_name","label":"Thesis Institution Name","values":["Queen's University at Kingston"]}]},{"id":"subjects_keywords","label":"Subjects and Keywords","entries":[{"key":"dc:subject","label":"Dc Subject","values":["Software builds","Build avoidance heuristic","Software analysis","Empirical study"]}]},{"id":"language_rights","label":"Language and Rights","entries":[{"key":"dc:language.iso","label":"Language (ISO)","values":["eng"]}]},{"id":"identifiers","label":"Identifiers","entries":[{"key":"dc:identifier.uri","label":"Identifier URI","values":["https://hdl.handle.net/1974/31996"]}]},{"id":"additional","label":"Additional Metadata","entries":[{"key":"dc:description.abstract","label":"Abstract","values":["Continuous integration (CI) is an efficient practice used for code integration and testing of software products. Yet, for large software projects, developers push hundreds of commits to the main code base everyday. Ensuring the quality of all these commits involves building, i.e., compiling and testing, every incoming commit in the CI environment. At the same time, dozens of additional builds also need to be performed to ensure that the software can reliably be executed on all supported platforms, hardware and configurations. Hence, CI becomes an expensive process. In this thesis, we study techniques that can help reduce the cost of CI by scheduling less builds. We study the existing approaches SmartBuildSkip, CI-Skip rules and Batching algorithms (Batch4, BatchStop4, BatchDivide4 and BatchBisect), then perform empirical studies to analyse the advantages and drawbacks of existing techniques and propose 3 novel heuristics based on them i.e., ML-CI, Timeout Rule and Lightweight Dynamic batching. In our two large scale studies of 79,482 builds from 20 open-source projects and 286,848 commits from 50 open-source projects, we find that our novel heuristics can match the performance of state-of-the-art heuristics and even improve upon them by enhancing them with simple history based features. In particular, we observe that by combining the prediction power of SmartBuildSkip with the ability of Batching algorithms to drastically reduce the number of scheduled builds during CI in our ML-CI and Timeout rule approach, we require 38.21% less builds than batching algorithms and 96% less turn-around-time than SmartBuildSkip. Moreover, we find that we can use simple and lightweight techniques to further enhance the performance of static batching algorithms by 4.3% to 11.9% and can also match the performance of the more complex state-of-the-art dynamic batching algorithm."]},{"key":"dc:description.degree","label":"Dc Description Degree","values":["M.Sc."]},{"key":"dc:title","label":"Title","values":["Pragmatic Approaches to Schedule Less Builds in Continuous Integration"]},{"key":"others:access_status","label":"Others Access Status","values":["open.access"]}]}],"canonical_facts":{"dc:contributor.department":["Computing"],"dc:contributor.supervisor":["Adams, Bram"],"dc:creator":["Kamath, Divya M."],"dc:date.accessioned":["8/31/2023","2023-10-16T14:06:35Z"],"dc:date.available":["9/5/2023","2023-10-16T14:06:35Z"],"dc:description.abstract":["Continuous integration (CI) is an efficient practice used for code integration and testing of software products. Yet, for large software projects, developers push hundreds of commits to the main code base everyday. Ensuring the quality of all these commits involves building, i.e., compiling and testing, every incoming commit in the CI environment. At the same time, dozens of additional builds also need to be performed to ensure that the software can reliably be executed on all supported platforms, hardware and configurations. Hence, CI becomes an expensive process. In this thesis, we study techniques that can help reduce the cost of CI by scheduling less builds. We study the existing approaches SmartBuildSkip, CI-Skip rules and Batching algorithms (Batch4, BatchStop4, BatchDivide4 and BatchBisect), then perform empirical studies to analyse the advantages and drawbacks of existing techniques and propose 3 novel heuristics based on them i.e., ML-CI, Timeout Rule and Lightweight Dynamic batching. In our two large scale studies of 79,482 builds from 20 open-source projects and 286,848 commits from 50 open-source projects, we find that our novel heuristics can match the performance of state-of-the-art heuristics and even improve upon them by enhancing them with simple history based features. In particular, we observe that by combining the prediction power of SmartBuildSkip with the ability of Batching algorithms to drastically reduce the number of scheduled builds during CI in our ML-CI and Timeout rule approach, we require 38.21% less builds than batching algorithms and 96% less turn-around-time than SmartBuildSkip. Moreover, we find that we can use simple and lightweight techniques to further enhance the performance of static batching algorithms by 4.3% to 11.9% and can also match the performance of the more complex state-of-the-art dynamic batching algorithm."],"dc:description.degree":["M.Sc."],"dc:identifier.uri":["https://hdl.handle.net/1974/31996"],"dc:language.iso":["eng"],"dc:relation.ispartofseries":["Canadian theses"],"dc:subject":["Software builds","Build avoidance heuristic","Software analysis","Empirical study"],"dc:title":["Pragmatic Approaches to Schedule Less Builds in Continuous Integration"],"dc:type":["thesis"],"others:access_status":["open.access"],"thesis:institution_name":["Queen's University at Kingston"]},"updated_at":"2026-11-19T09:13:03Z"}