CodeWarrrior Compilation Extremely Slow

13 views
Skip to first unread message

mavalos88

unread,
Oct 27, 2009, 3:41:55 PM10/27/09
to us...@tortoisesvn.tigris.org
Hey guys,

We just started using TortoiseSVN with CodeWarrior.
Since we've done this, compilation time has tripled. It's become
really tedious to compile.
We know this happens when the proyect is linked to SVN because when we
export the repo to another local folder, compilation is fast again.

If we add all the files to the ignore list, and compile, this speeds
up compilation also.

Obviously none of this solutions are good and make the point of using
SVN kinda useless since we can't be in sync with the server.

I have no idea if Tortoise is constantly checking with SVN for changes
or is doing something with SVN that is slowing us down.

Can anyone think of a viable solution to this problem? Or has anyone
solved this issue?

Thanks

------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMessageId=2411781

To unsubscribe from this discussion, e-mail: [users-un...@tortoisesvn.tigris.org].

Andy Levy

unread,
Oct 27, 2009, 3:55:47 PM10/27/09
to us...@tortoisesvn.tigris.org
On Tue, Oct 27, 2009 at 15:41, mavalos88 <mava...@gmail.com> wrote:
> Hey guys,
>
> We just started using TortoiseSVN with CodeWarrior.
> Since we've done this, compilation time has tripled. It's become
> really tedious to compile.
> We know this happens when the proyect is linked to SVN because when we
> export the repo to another local folder, compilation is fast again.
>
> If we add all the files to the ignore list, and compile, this speeds
> up compilation also.
>
> Obviously none of this solutions are good and make the point of using
> SVN kinda useless since we can't be in sync with the server.
>
> I have no idea if Tortoise is constantly checking with SVN for changes
> or is doing something with SVN that is slowing us down.
>
> Can anyone think of a viable solution to this problem? Or has anyone
> solved this issue?

You haven't given details about how your build process works, nor what
your environment is (OS, any antivirus running, etc.).

Is your build process copying source directories from one place to
another? If so, you're copying double the data when you're using a
working copy vs. an export. That'll also trigger most AV products'
"scan on access" feature which is notorious for killing performance.

Is your build process scanning all subdirectories? If so, tell it to
ignore the .svn directories.

TortoiseSVN does not poll the server automatically, so it's most like
something related to disk I/O.

------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMessageId=2411786

mavalos88

unread,
Oct 27, 2009, 8:20:32 PM10/27/09
to us...@tortoisesvn.tigris.org
On Oct 27, 1:55 pm, Andy Levy <andy.l...@gmail.com> wrote:
> ------------------------------------------------------http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMess...
>
> To unsubscribe from this discussion, e-mail: [users-unsubscr...@tortoisesvn.tigris.org].

I am using CW for Microcontrollers 6.2, I am running Windows XP and
the AV is bitdefender. I will try and disable the AV. However, CW
doesn't look anywhere but the project files. The CW project
encompasses all the files to be built.

------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMessageId=2411876

mavalos88

unread,
Oct 27, 2009, 8:50:09 PM10/27/09
to us...@tortoisesvn.tigris.org
We are currently on a Windows XP environment. We have bit torrent on
most computers and AVG installed in a few others. We have tried
disabling the antivirus and there is no improvement in performance.
Code Warrior doesn't check any subdirectories during the build
process, it just focuses in the files it needs and it doesn't create
copies
of source directories like you suggested.
If there is any more info you need let me know. We have tried a lot of
things but the only that work are to add everything to svn ignore list
or to export the working copy to a different local folder.
We just did the test of how much longer it takes to compile. An
exported or regular project takes 50 seconds vs 2 minutes with a
project
that is linked with SVN.

We have other people working with Eclipse and they haven't noticed any
slow down at all on compilations.

Thanks again for your help.


On Oct 27, 1:55 pm, Andy Levy <andy.l...@gmail.com> wrote:

> ------------------------------------------------------http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMess...
>
> To unsubscribe from this discussion, e-mail: [users-unsubscr...@tortoisesvn.tigris.org].

------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMessageId=2411880

Jean-Marc van Leerdam

unread,
Oct 28, 2009, 3:05:10 AM10/28/09
to us...@tortoisesvn.tigris.org
Hi,

2009/10/28 mavalos88 <mava...@gmail.com>:


> We are currently on a Windows XP environment. We have bit torrent on
> most computers and AVG installed in a few others. We have tried
> disabling the antivirus and there is no improvement in performance.
> Code Warrior doesn't check any subdirectories during the build
> process, it just focuses in the files it needs and it doesn't create
> copies
> of source directories like you suggested.
> If there is any more info you need let me know. We have tried a lot of
> things but the only that work are to add everything to svn ignore list
> or to export the working copy to a different local folder.
> We just did the test of how much longer it takes to compile. An
> exported or regular project takes 50 seconds vs 2 minutes with a
> project
> that is linked with SVN.
>

Have you tried compiling with the TSVN cache disabled?

--
Regards,

Jean-Marc
--
. ___
. @@ // \\ "De Chelonian Mobile"
. (_,\/ \_/ \ TortoiseSVN
. \ \_/_\_/> The coolest Interface to (Sub)Version Control
. /_/ \_\ http://tortoisesvn.net

------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMessageId=2411962

mavalos88

unread,
Oct 28, 2009, 11:45:52 AM10/28/09
to us...@tortoisesvn.tigris.org
Hello Jean-Marc,

we just tried what you suggested and had no luck. We also tried
locking the working copy and had no results.
We decided to try a different svn client and had the same slow down at
compilation. So this makes me believe that there is something CW
doesn't like about versioned files. I don't know if svn marks them in
a certain way.
Any other suggestions?

Thanks so much for taking the time to reply.

On Oct 28, 1:05 am, Jean-Marc van Leerdam <j.m.van.leer...@gmail.com>
wrote:
> Hi,
>
> 2009/10/28 mavalos88 <mavalo...@gmail.com>:

> ------------------------------------------------------http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMess...
>
> To unsubscribe from this discussion, e-mail: [users-unsubscr...@tortoisesvn.tigris.org].

------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMessageId=2412167

Jean-Marc van Leerdam

unread,
Oct 28, 2009, 5:01:46 PM10/28/09
to us...@tortoisesvn.tigris.org
Hi,

2009/10/28 mavalos88 <mava...@gmail.com>:


> Hello Jean-Marc,
>
> we just tried what you suggested and had no luck. We also tried
> locking the working copy and had no results.
> We decided to try a different svn client and had the same slow down at
> compilation. So this makes me believe that there is something CW
> doesn't like about versioned files. I don't know if svn marks them in
> a certain way.
> Any other suggestions?
>

Try compiling with sufficient logging enabled to see where the time is
spent (and compare the results with the same build on a non-versioned
source tree. That could give some indication of possible causes.

But if the TSVN cache is really disaled, there's nothing 'active'
anymore WRT TSVN and Subversion and any slowdown is most likely caused
by either CW or other applications like Antivirus software
(scanning/parsing .svn folders for example).

Subversion does not mark the actual files in any special way; all
administration is concentrated in the .svn sub-folders. A file under
version control is just another file on the filesystem to any
application.

--
Regards,

Jean-Marc
--
. ___
. @@ // \\ "De Chelonian Mobile"
. (_,\/ \_/ \ TortoiseSVN
. \ \_/_\_/> The coolest Interface to (Sub)Version Control
. /_/ \_\ http://tortoisesvn.net

------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMessageId=2412257

mavalos88

unread,
Oct 29, 2009, 5:57:10 PM10/29/09
to us...@tortoisesvn.tigris.org
Thank you for your reply.

We will keep looking and if we find a solution i'll make sure to post
it here.

Thanks again.


On Oct 28, 3:01 pm, Jean-Marc van Leerdam <j.m.van.leer...@gmail.com>


wrote:
> Hi,
>
> 2009/10/28 mavalos88 <mavalo...@gmail.com>:
>

> ------------------------------------------------------http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMess...
>
> To unsubscribe from this discussion, e-mail: [users-unsubscr...@tortoisesvn.tigris.org].

------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMessageId=2412837

Reply all
Reply to author
Forward
0 new messages