gump-general mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From d...@multitask.com.au
Subject Re: Performance of gen.bat
Date Mon, 06 Jan 2003 10:13:10 GMT
Sam Ruby <rubys@apache.org> wrote on 06/01/2003 01:18:44 AM:

[snip]
> On my thinkpad, if I do this:
> 
> > cd /D C:\gump\work>timex 
> > call publish ..\project\jakarta-avalon-site.xml C:
> \jakarta\log\module_jakarta-avalon-site.html 
> 
> The elapsed time is 0.38 seconds.  Furthermore, if I do this:
C:\source\jakarta\gump\work>\cygwin\bin\time publish.bat 
..\project\jakarta-avalon-site.xml 
C:\jakarta\log\module_jakarta-avalon-site.html

0:11.27elapsed. That's a lot more than .38.

> 
>  > cd /D C:\gump\work
>  > puball ..\rubypad.xml
> 
> The *entire* step completes in 73.59 seconds.

This one takes the 40 odd minutes.

> 
> Looking in the other direction, publish.bat is merely a bunch of echo 
> statements, and one call out to perl.  Try just running the perl step, 
thus:
> 
> > perl map.pl ..\project\jakarta-avalon-site.xml
> 
> On my machine, that takes 0.17 seconds.
 0:00.20elapsed on mine.

Ok, so the issue appears to be the echos?
--
dIon Gillard, Multitask Consulting
Blog:      http://www.freeroller.net/page/dion/Weblog
Work:      http://www.multitask.com.au




Mime
View raw message