[Date Prev][Date Next][Thread Prev][Thread Next] [Search] [Date Index] [Thread Index]

[MacPerl] Re: Error type 12 in .acgi



At 14.22 -0500 2000.01.23, Ricky Morse wrote:
>In december, there was some mention of a new version of MacPerl that
>would be multi-threaded -- is there any word on this?  I'm really hoping
>this happens soon...

Don't hold your breath.  It will happen when it will happen.

What you may want to consider is running an additional web server on the
same machine that is on a different port (like 8080 or something) that
handles requests to this CGI.  I don't know your setup, but it is something
that may work for you.


>One more question: is there any kind of profiler available for Perl?  I'm
>worried that this script takes so long (even with password entry
>immediately, it can take 30 secs to a min to return data), and would like
>to see if I can figure out what is taking the most time...

If you are calling MacPerl::DoAppleScript, this can be a serious drag on
performance.  It can take several seconds just for one call.  Consider
using Mac::AppleEvents::Simple (see macperlcat.pod, included with MacPerl,
and the Mac::AppleEvents::Simple docs, on http://pudge.net/macperl/) for
more information.

-- 
Chris Nandor          mailto:pudge@pobox.com         http://pudge.net/
%PGPKey = ('B76E72AD', [1024, '0824090B CE73CA10  1FF77F13 8180B6B6'])

# ===== Want to unsubscribe from this list?
# ===== Send mail with body "unsubscribe" to macperl-request@macperl.org