Bug 7928 - Builds are only partially incremental
Summary: Builds are only partially incremental
Status: NEW
Alias: None
Product: ThinLinc
Classification: Unclassified
Component: Build system (show other bugs)
Version: trunk
Hardware: PC Unknown
: P2 Normal
Target Milestone: MediumPrio
Assignee: Bugzilla mail exporter
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-05-17 15:52 CEST by William Sjöblom
Modified: 2022-06-22 08:39 CEST (History)
0 users

See Also:
Acceptance Criteria:


Attachments

Description William Sjöblom cendio 2022-05-17 15:52:01 CEST
When changing a source file and then building either the client or the server, most of the build time is generally spent on rebuilding things that have not been touched since the last build.

This was relieved a little by the inclusion of ccache in cenbuild in bug 7827. Still, the lack of more fine-grained build incrementality is a severe bottleneck to developer productivity.

Take the 35 million LOC chromium codebase for example (which is actually far larger if we account for generated code not part of the tree). Incrementally building this project after a single C++ file has been changed takes roughly 20 seconds (where roughly half of that consists of linking). This is less than half the time it takes to build tlmisc which is a couple orders of magnitude smaller in terms of code size.

Note You need to log in before you can comment on or make changes to this bug.