Errto has asked for the wisdom of the Perl Monks concerning the following question:
Greetings,
I am using PAR-0.86 with ActivePerl 5.8.6 for Win32 to generate an executable from a script. My code totals about 500 lines, but I do use several modules. The generated EXE is about 3.3 MB in size. The program runs fine, but the first time I run it on a given machine, it seems to eat 100% CPU on that machine for about 30-40 seconds before it begins to do its real work. This is on a fairly recent desktop computer with a P4 and 512 MB RAM. I'm wondering if I could reduce it either with a configuration change, or by switching to one of the commercial Perl exe-generators such as PDK or Perl2Exe. Some of the modules I'm using, such as LWP, Tk, and XML::LibXML are pretty large. If I could eliminate one or more of them would that likely make a big difference?
Cheers
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: [Win32] PAR-generated .exe consuming excessive CPU on initial load
by jplindstrom (Monsignor) on Apr 26, 2005 at 20:41 UTC | |
|
Re: [Win32] PAR-generated .exe consuming excessive CPU on initial load
by TGI (Parson) on Apr 26, 2005 at 20:51 UTC | |
|
Re: [Win32] PAR-generated .exe consuming excessive CPU on initial load
by kimanaw (Beadle) on Apr 27, 2005 at 02:02 UTC |