app-staticperl + speed
Marc Lehmann
schmorp at schmorp.de
Tue Mar 13 08:16:56 CET 2012
On Mon, Mar 12, 2012 at 08:35:03PM -0700, gleeco <gleeco at gmail.com> wrote:
> I'm interested in getting maximum performance and am wondering if you have
> specific tips for that side of the equation. I'm seeing roughly double
> time for a simple operation like:
I see 40% faster operation than debians perl.
> am starting my profiling tomorrow; but tips/tricks appreciated in advance.
How about compiling with optimisation, current compiler etc.? :)
> ps - staticperl documentation under 'getting rid of netdb functions'
> illustrates dropping getproto*; however i'm seeing that breaks
> AnyEvent::Socket (test was simple AE::HTTP usage).
> Have i missed something?
It shouldn't break it, and doesn't seem to break it - AnyEvent doesn't use
getproto* for tcp/udp/icmp.
getservbyname is a wholly different matter though.
But in general, yeah, not having some functions certainly breaks some things.
However, you seme to be under the impression that staticperl is an anyevent
thing (posting on this list, wonderign why it has an example that might break
AnyEvent) - this is not the case, staticperl is really quite independent, and
might have examples that break AnyEvent, in general :)
--
The choice of a Deliantra, the free code+content MORPG
-----==- _GNU_ http://www.deliantra.net
----==-- _ generation
---==---(_)__ __ ____ __ Marc Lehmann
--==---/ / _ \/ // /\ \/ / schmorp at schmorp.de
-=====/_/_//_/\_,_/ /_/\_\
More information about the anyevent
mailing list