Questions tagged [build-time]

75 questions
6
votes
0 answers

Build time slow with cgo dependencies

I have a Go program that uses the Qt wrapper library https://github.com/therecipe/qt. Unfortunately, the build time gets extremely high with it (assuming it's the go part) go build -i . // takes about 14 seconds go run . // takes about 8…
wasp256
  • 5,943
  • 12
  • 72
  • 119
6
votes
2 answers

Large build time using Android Studio 3.1

I am using android studio v 3.1. Operating System - Windows 10. Core i5 with 16 GB ram. Below is the result of build profiling :app:transformClassesWithDesugarForDevelopmentQuickbuild 35.137s :app:compileDevelopmentQuickbuildJavaWithJavac…
Mangesh Kadam
  • 587
  • 5
  • 19
6
votes
1 answer

Build time: Visual Studio 2015-2017 build very slow

For my small (5-6000 lines of code) C++ program I have used both VS 2015 and 2017 and my build times are around 2 minutes on first build. This is obviously incredibly slow but I'm not sure why. In tools->options->projects and solutions->build and…
Jason
  • 2,198
  • 3
  • 23
  • 59
4
votes
4 answers

Build-time code validation and generation based upon code files across projects

I'm looking for a method that let's me validate code and generator code as part of the build process, using Visual Studio 2010 (not express) and MSBuild. Background Validation: I'm writing a RESTful web service using the WCF Web Api. Inside the…
4
votes
0 answers

Long build times for Criterion cargo bench but not cargo build --release with large type

While working on a Brainfuck interpreter in Rust, I noticed that cargo bench takes an incredibly long time to build a Criterion bench when the Benchmark contains a large type. As part of my Brainfuck implementation, I define a structure with a very…
Rafael
  • 182
  • 1
  • 9
4
votes
1 answer

How to calculate the build time of C Project using CMake

I am working in a C-Project and for building the software I am using CMake. Unfortunately the building of the software needs a lot of time. For analysing the build time, I want to: print the translation time for every c file print the time for the…
elguerrero
  • 59
  • 1
  • 1
  • 8
4
votes
2 answers

Why not adding mavenLocal() in all Android apps?

When creating an Android project from scratch, Android Studio doesn't add mavenLocal() to the list of Gradle repositories. But we added it, and builds are now faster than ever. Is there any reason to avoid adding mavenLocal() at every Android…
Roc Boronat
  • 11,395
  • 5
  • 47
  • 59
4
votes
3 answers

Turn off parts of code to speed up build times (Gradle)

I have an Android project that has grown with time, and with the size have grown the gradle build times. It was bearable while it was under the 65k limit - around 14s. Now with multidex it takes 36s. So my question is - are there any ways to "turn…
Alexandre G
  • 1,655
  • 20
  • 30
3
votes
0 answers

Optimise build time for a huge swift project

I have a huge swift project which has more than 70 Storyboards and 1269 XIBs and 14 compileswiftsources. Its taking 16 to 35 minutes. As I can see most of the compile-time was due to storyboards and XIBs. I have done all the…
Hitesh Agarwal
  • 1,943
  • 17
  • 21
3
votes
1 answer

Xcode 11.4 / iOS13.3.1 Could not inspect the application package

Details Unable to install "wtsp_ios" Domain: com.apple.dt.MobileDeviceErrorDomain Code: -402653103 -- Could not inspect the application package. Domain: com.apple.dt.MobileDeviceErrorDomain Code: -402653103 User Info: { DVTRadarComponentKey =…
Ran Bi
  • 251
  • 1
  • 2
  • 8
3
votes
0 answers

Every Incremental build takes over 40 secs on Xcode

Though no code is changed, every incremental build takes over 40 secs, which I believe is too long. None of my apps has taken so long. Out of the 40 secs, "Ld" takes most of its time: 31 secs. I know Ld is a linker of Xcode, but I have no idea why…
Yuichi Kato
  • 863
  • 7
  • 16
3
votes
4 answers

How to minimize the build time of a Flash project?

One of the most annoying things when working with Flash/Flex projects is that it takes soo long to build the project. In a Flash game I am doing, it takes more than one minute to build it... So, the question is simple: Is that normal? Am I doing…
miguelSantirso
  • 1,243
  • 1
  • 12
  • 26
2
votes
0 answers

What's wrong with my Next.JS app build time?

I've made simple static e-commerce app with Next.JS. For my product pages I fetch some strings of data (very little). When I build my app then receive ambiguous result output with yellow and red times in ms (pin a pic below). My code, for example…
andrewnosov
  • 374
  • 4
  • 14
2
votes
0 answers

What is Ld in Build Timing Summary

I am having very slow build time, each time I make any change to code. I tried building with timing summary and here is the report from Report Navigator- CompileC with 409 tasks is taking 134.55 seconds which is understandable, but I am not sure…
Pankaj Dubey
  • 796
  • 3
  • 8
  • 32
2
votes
1 answer

Is it possible to add the annotation at build time in java?

I am looking for a way to add the annotation to field during build time. Is it possible to modify the '.class' file content during build time? For my case, Class A{ x; y; } I have different customer code base. Some customer needs only x field to…