[fpc-devel] Small Apps thing of the Past?

Marco van de Voort marcov at stack.nl
Tue Jul 18 14:34:52 CEST 2006


> In response to the text below - I thought it useful to say that I have the
> need for a small APP to make a super thin CGI app to compromise between the
> "process startup" of CGI apps without locking myself into a HTTP API or
> FastCGI - Still not sure what the benchmarks will reveal but concerning FPC,
> By not using any units that appear to use classes internally (because of the
> CLASSES bloat code which is fine usually and desired) I have managed 30k
> exe's (upx even smaller) using only the DOS unit, and my own. I use ONLY FPC
> native objfpc mode - AND I made a skeleton of a little database format -
> using the file block stuff - and it SCREAMS!!!!

Very nice. What is the % startup difference between using classes and not?
And how do you measure ? I can't imagine it to be larger than the
performance penalty on UPX.

See also:

http://www.freepascal.org/wiki/index.php/Size_Matters

most notably the parts about UPX.




More information about the fpc-devel mailing list