Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

Re^2: The magic of threads

by barbie (Deacon)
on Nov 17, 2004 at 15:51 UTC ( #408446=note: print w/ replies, xml ) Need Help??


in reply to Re: The magic of threads
in thread How to make your Perl 30% faster

They can indeed. However, in this case the biggest factor is the none use of ithreads. In the tests we did here we did a like for like test, which showed a significant improvement when we simply recompiled without ithread support. If we were to add compiler flags I'm sure we could improve further, but as others have mentioned, adding further optimisations could have side effects.

--
Barbie | Birmingham Perl Mongers user group | http://birmingham.pm.org/


Comment on Re^2: The magic of threads
Re^3: The magic of threads
by ysth (Canon) on Nov 17, 2004 at 16:55 UTC
    I would expect the real gain to come from getting rid of PERL_IMPLICIT_CONTEXT/MULTIPLICITY (in addition to ithreads). Can you show perl -V from your tests?

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://408446]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (13)
As of 2014-07-10 15:24 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    When choosing user names for websites, I prefer to use:








    Results (213 votes), past polls