Re: [fpc-pascal] fpdoc slow on Linux x64... tweaking?

2012-02-22 Thread Graeme Geldenhuys
On 22 February 2012 09:49, Reinier Olislagers  wrote:
 2) Is there anything else I can do to speed up LCL doc generation?

You are building CHM help, correct? If so, from recent messages in the
FPC and Lazarus mailing lists, that is your problem, not fpdoc per-se.
The CHM generation package is very very slow and very memory hungry.

I can generate full LCL docs in IPF output format (the source format
used to generate INF help files) using fpdoc, in 4 seconds. So it is
definitely not fpdoc to blame.


$cd /opt/lazarus/docs/html/

$ time ./build_ipf.sh
FPDoc - Free Pascal Documentation Tool
Version 2.5.1 [2011/10/20]
(c) 2000 - 2003 Areca Systems GmbH / Sebastian Guenther, s...@freepascal.org

Done.

real0m4.822s
user0m2.030s
sys 0m2.810s

$ ls -l lcl/lcl.ipf
-rw-r--r-- 1 graemeg graemeg 9929628 2012-02-22 10:04 lcl/lcl.ipf




-- 
Regards,
  - Graeme -


___
fpGUI - a cross-platform Free Pascal GUI toolkit
http://fpgui.sourceforge.net
___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal


Re: [fpc-pascal] fpdoc slow on Linux x64... tweaking?

2012-02-22 Thread Reinier Olislagers
On 22-2-2012 9:16, Graeme Geldenhuys wrote:
 On 22 February 2012 09:49, Reinier Olislagers  wrote:
 2) Is there anything else I can do to speed up LCL doc generation?
 
 You are building CHM help, correct? If so, from recent messages in the
 FPC and Lazarus mailing lists, that is your problem, not fpdoc per-se.
 The CHM generation package is very very slow and very memory hungry.

Yep, seems that way.

 I can generate full LCL docs in IPF output format (the source format
 used to generate INF help files) using fpdoc, in 4 seconds. So it is
 definitely not fpdoc to blame.
Well... not fpdoc itself, no, agreed ;)

Who knows, perhaps we'll extend fpcup to include ipf generation and the
install the inf viewer... ;)

In order to be ready for that, would you care to share your build_ipf.sh?

Regards,
Reinier
___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal


Re: [fpc-pascal] fpdoc slow on Linux x64... tweaking?

2012-02-22 Thread Graeme Geldenhuys
On 22 February 2012 11:38, Reinier Olislagers  wrote:

 In order to be ready for that, would you care to share your build_ipf.sh?

No problem, there is nothing special about it really. Just and
inclusion of two parameters I don't have to keep retyping. :)  It must
be run from the lazarus/docs/html/ directory.


I haven't followed the recent conversations about the LCL docs
restructuring etc. But the generated output from my script seems to
include all the relevant LCL docs.


-- 
Regards,
  - Graeme -


___
fpGUI - a cross-platform Free Pascal GUI toolkit
http://fpgui.sourceforge.net


build_ipf.sh
Description: Bourne shell script
___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal