question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Improve incremental build performance

See original GitHub issue

I think our builds are not configured correctly for optimal incremental build performance. Incremental builds appear to be just as slow as the initial build. I would expect the incremental build to be much faster, since no source files are dirty so it shouldn’t need to download packages again or compile sources.

  1. git clone https://github.com/Azure/azure-sdk-for-java
  2. cd keyvault\data-plane\azure-keyvault
  3. mvn compile
[INFO] Total time:  10.967 s
  1. mvn compile
[INFO] Total time:  10.806 s

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:12 (12 by maintainers)

github_iconTop GitHub Comments

1reaction
srnagarcommented, Aug 14, 2020

@mikeharder I initially thought that the flag implemented backwards too, but that’s not the case. See this comment. Also, they recommend not to reverse the default value from true to false. See stackoverflow answer.

0reactions
mikehardercommented, Oct 27, 2021

@alzimmermsft: Dev inner-loop perf is a much higher priority than anything related to CI builds. If the Java team thinks the current dev inner-loop perf is acceptable I am fine closing this.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Improving the speed of incremental builds - Apple Developer
When a target has many dependencies, or when it depends on large, monolithic modules, Xcode must serialize more tasks. To improve build performance,...
Read more >
Improve Visual Studio Build Performance - NDepend
Use Visual Studio Solution Filters and Incremental Build to shorten compilation time and improve your productivity.
Read more >
Improve the Performance of Gradle Builds
The Gradle team continuously improves the performance of Gradle builds. ... Incremental build is a Gradle optimization that skips running tasks that have ......
Read more >
Incremental Builds - MSBuild | Microsoft Learn
Incremental builds are builds that are optimized so that targets that have output files that are up-to-date with respect to their corresponding ...
Read more >
Build Performance - webpack
This guide contains some useful tips for improving build/compilation performance. General. The following best practices should help, whether you're running ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found