- NSIS Discussion
- Nsis Compile Faster ?
Archive: Nsis Compile Faster ?
rainmanp7
12th February 2004 19:40 UTC
Nsis Compile Faster ?
Is there a way to get nsis to compile faster ?
If so please tell me :)
Because once it reaches the thousand + mark or even a little under that being the number of files
it slows down way down
i can make breakfest nd coffee and come back and it's still compiling :(
um i can also do other things on my system at the same time like 5 other tasks at the same time
Is there a way to make it hump and bump ?
go faster ?
I'm pushing near 9,000+ files for my install
actually 8,969 files as of right now and i need to add another like 650 on top of that giving me 9,619 to
install and compile and uninstall
please let me know the secrets for a Faster Compile
thank you in advance.
:igor:
Joost Verburg
12th February 2004 19:46 UTC
You may try different compression methods or run test installers without compression.
rainmanp7
12th February 2004 20:10 UTC
Right now i'm currently doing this with no compression at all.
I could expect the compression portion to be way slow but not the uncompressed ?
Joost Verburg
12th February 2004 20:49 UTC
If it has to open and include thousands of files that can take a while, there is nothing that can be done about it.
fabiochelly
12th February 2004 22:03 UTC
Isn't it possible to add a way to precompile some of the files into one archive (compressed or not) that the compiler can append directly to the stream?
Like that NSIS would be able to compile much faster by only compiling the changed files.
rainmanp7
12th February 2004 22:20 UTC
fabiochelly
for some reason we are always on the same wave length..
we think alike for some reason hehe.
we need to talk and hang out somtime :):D :p ;) :)
Joost Verburg
12th February 2004 22:31 UTC
Of course it's possible, but it would take a lot of time to write something like that.
kichik
13th February 2004 09:41 UTC
Compile using a DOS box and not MakeNSISw. For long logs, it should speed up things when reaching the end. However, you won't be able to see the start of the log. You can also set verbosity to 3 using !verbose.
eccles
13th February 2004 13:54 UTC
If it seems that the compilation starts quickly then gradually slows, using SetDatablockOptimize off might help.
rainmanp7
13th February 2004 17:04 UTC
this setting
SetDatablockOptimize off
really cut down my compile time thanx
now instead of 3-5 minutes it's more like
30 or less seconds :D
kichik mentioned long logs
how does one go about not logging it at all ?
I placed the 2 settings at the very top of the script
SetCompress off
SetDatablockOptimize off
and it's alot faster Thanx
Joost Verburg
13th February 2004 17:08 UTC
Using !verbose 3 you can disable the window log (except warnings and errors).
vendolis
22nd September 2004 14:13 UTC
WOOT... SetDatablockOptimize off is the way to go.... with roughly 60000 (sixtythousend) Files it took 3 days to compile... now its a matter of Houres.