build-time Questions

1

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 Brainfu...
Rutherford asked 29/10, 2022 at 5:43

7

Solved

I'm using __DATE__ and __TIME__ in Objective-C to get the build date and time of my app. I can't find a way to get this information in Swift. Is it possible?
Overstride asked 8/11, 2014 at 1:10

3

Solved

I have an auto-generated file which looks something like this... static void do_SomeFunc1(void* parameter) { // Do stuff. } // Continues on for another 4000 functions... void dispatch(int id, v...
Meson asked 2/6, 2010 at 1:35

9

I'm trying to achieve pretty trivial thing: I need to store integer 32-bit unix timestamp of the build time, but all the macro I've found (__DATE__, __TIME__, __TIMESTAMP__) expand to string, not i...
Groundsel asked 12/4, 2014 at 14:59

1

I have 100 .h files in a externalFiles diretory. Around 10 .cpp files in my source includes these .h files. So I removed all #include externalFiles/.*h directives from my .cpp files and wrote them ...
Inchoation asked 23/6, 2022 at 8:29

2

Solved

Recently I am trying to optimize the performance of a web app(React). Assuming it is somewhat heavy as it consists of Code editors, Firebase, SQL, AWS SDK, etc. So I integrated react-loadable which...
Stinnett asked 20/5, 2021 at 6:31

3

Solved

How do I find out where the compiler spends its time? My build is too slow, I'm already using a RAMdisk for the VC++ temporary files and it doesn't make any difference. (I have an SSD, so I expect...
Malleolus asked 14/3, 2013 at 9:58

0

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 ab...
Raskin asked 5/8, 2020 at 10:51

3

Solved

I know there is a way to display the build time of each project contained in a solution in visual studio. But what I'm looking for is the total time it took to build an entire solution, from the mo...
Morocco asked 21/1, 2010 at 18:30

2

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 :ap...
Dessertspoon asked 30/3, 2018 at 8:44

2

Solved

If I want to embed the current time in JAR manifest using ant is there an ant property I can use for "now" and which manifest attribute is the best to put this information? I currently have the fo...
Masinissa asked 10/11, 2010 at 10:30

1

Solved

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 wh...
Scutage asked 12/11, 2017 at 15:8

2

Solved

This may be a stupid question, but I'm new to using Docker-compose. So far, I love it... but I'm having some long build times. I have a project with several dependencies, and I need to obviously re...
Maidservant asked 11/6, 2017 at 2:28

2

Solved

I have a program in Go that I want to compile in a bunch of binaries, each having a const value defined differently. More clearly, I have something like that: const wordLen = 6 type knowledge [wor...
Haemophilia asked 22/3, 2016 at 10:2

1

Solved

One big benefit I've always perceived with using NodeJS on the server is the potential for sharing bits of code between the server and client side (ex. input validation). Now that I'm actually deve...
Apomict asked 26/10, 2015 at 2:45

10

Solved

We have project which uses gcc and make files. Project also contains of one big subproject (SDK) and a lot of relatively small subprojects which use that SDK and some shared framework. We use pre...
Purr asked 2/4, 2009 at 8:29

5

Solved

We have a C++ project in which there are several large static data tables (arrays of structs) generated by an preprocessing tool and compiled into our project. We've been using VC++ 2008 up to now,...
Tripartition asked 25/10, 2011 at 18:12

5

Solved

In Objective-c when we using object of one class into another class by convention we should forward declare the class in .h file, i.e. @class classname;. And should import the header file in .m fil...
Heger asked 10/5, 2012 at 10:9

10

Solved

Is there an automatic way to optimize inclusion of header files in C++, so that compilation time is improved ? With the word "automatic" I mean a tool or program. Is it possible to find w...
Dahl asked 8/12, 2009 at 19:59

10

Solved

I'm specifically interested in solution load times & build times - does fewer solutions mean better performance? Note that I'm not referring to the performance of the built application. Are l...
Stipitate asked 18/1, 2009 at 9:25
1

© 2022 - 2024 — McMap. All rights reserved.