Gerald is too modest.  On the simplest of scripts, the Hello
World bench, the fastest Embperl config smokes Apache::ASP's best
by at least 45%, on the same box.  Check out:
  
  http://www.chamas.com/hello_world.html

A simple mod_perl handler is in turn is 30+% faster than Embperl.  

Your choice of embedded environment is ultimately going to be based
on what platform and corresponding features you want to develop 
under, as they are all extremely fast, and the startup speed 
differences will be amortized as your scripts get longer.
  
-- Joshua
_________________________________________________________________
Joshua Chamas                           Chamas Enterprises Inc.
NODEWORKS >> free web link monitoring   Huntington Beach, CA  USA 
http://www.nodeworks.com                1-714-625-4051

Gerald Richter wrote:
> 
> >
> > When I told that ASP slower than Embperl - Joshua Chamas said that he know
> > it, but was surprised by huge difference, he tuned the ASP, I upgraded
> > Embperl to 1.2b9 and results interchanges.
> 
> If you tune Embperl (set EMBPERL_OPTIONS to 8083), the result interchange
> again, but you loose some of the Embperl features. With simple scripts the
> Embperl speed will double...
> 
> It depend's which features you need and which you can disable. That's the
> same for Embperl and ASP (e.g. turning State on in ASP will draticly slow it
> down, at least in my tests).
> 
> Gerald
> 
> P.S. I also check Embperl 1.2b10 against 1.1.1, in my tests 1.1.1 is about
> 10% faster.
> 
> EMBPERL_OPTIONS = 8083 ->
> 
> optDisableVarCleanup
> optDisableEmbperlErrorPage
> optRawInput
> optDisableChdir
> optDisableFormData
> optDisableHtmlScan
> optDisableInputScan
> optDisableTableScan
> optDisableMetaScan

Reply via email to