Re: Performance of gen.bat
[email protected] Mon, 6 Jan 2003 21:13:10 +1100
| Newsgroups | gmane.comp.jakarta.alexandria.devel,gmane.comp.jakarta.gump |
|---|---|
| Message-ID | <OF6B588164.A64BAD5E-ONCA256CA6.00370C8B-CA256CA6.003821F4@multitask.com.au> |
Sam Ruby <[email protected]> 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