发明名称 |
Using build history information to optimize a software build process |
摘要 |
Methods and systems for optimizing a build order of component source modules comprises creating a dependency graph based on dependency information. Historical build information associated with previous build failures is then used to calculate relative failure factors for paths of the dependency graph; and the relative failure factors are used to determine an order of traversal of the dependency graph during a build process in which component binary modules are built from the component source modules. |
申请公布号 |
US9626167(B2) |
申请公布日期 |
2017.04.18 |
申请号 |
US201314012619 |
申请日期 |
2013.08.28 |
申请人 |
INTERNATIONAL BUSINESS MACHINES CORPORATION |
发明人 |
Bonanno James M.;Doyle Ronald P.;Fraenkel Michael L.;Tarter Aaron J. |
分类号 |
G06F9/45;G06F9/44 |
主分类号 |
G06F9/45 |
代理机构 |
Cuenot, Forsythe & Kim, LLC |
代理人 |
Cuenot, Forsythe & Kim, LLC |
主权项 |
1. A method for optimizing a build order of component source modules, comprising:
creating a dependency graph based on dependency information; calculating, using historical build information associated with previous build failures, relative failure factors for paths of the dependency graph; and determining, using the relative failure factors, an order of traversal of the dependency graph during a build process, wherein component binary modules are built from the component source modules during the build process, and the historical build information includes at least one of:
a history of which respective component source modules have failed most often as a percentage of total attempts to build the respective component source modules,a history of a developer's contributions to build failures as a percentage of a total contribution of the developer, anda total number of file changes since a last successful build. |
地址 |
Armonk NY US |