Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Re: Perl with internal Benchmark/Profiler

by perrin (Chancellor)
on Jun 15, 2006 at 11:57 UTC ( #555475=note: print w/ replies, xml ) Need Help??


in reply to Perl with internal Benchmark/Profiler

When I did something like this, I found that turning off threads and debugging (not the perl debugger, but debugging perl itself) made a big diference, and using the Intel compiler made a pretty big one too.


Comment on Re: Perl with internal Benchmark/Profiler
Re^2: Perl with internal Benchmark/Profiler
by PetaMem (Priest) on Jun 15, 2006 at 13:04 UTC
    I can confirm that tendency (from the impressions so far). But my intention is now to get some numbers to get a quantitative statement. Unfortunately, the Intel compiler performs far worse on 64bit Architectures than other options.

    Bye
     PetaMem
        All Perl:   MT, NLP, NLU

Re^2: Perl with internal Benchmark/Profiler
by PetaMem (Priest) on Jun 16, 2006 at 17:02 UTC
    Could you please elaborate some HowTo use the icc? After extensively using perlbench, I came to the conclusion that gcc 4.x sucks and tried icc. Unfortunately, I'm getting lots of these:
    icc -L/usr/local/lib -o miniperl \
        miniperlmain.o opmini.o libperl.a -lnsl -ldl -lm -lcrypt -lutil -lc
    IPO Error: unresolved : PL_comppad
            Referenced in /tmp/ipo_iccuB3iq9.o
    IPO Error: unresolved : PL_regfree
            Referenced in /tmp/ipo_iccuB3iq9.o
    IPO Error: unresolved : PL_regcompp
            Referenced in /tmp/ipo_iccuB3iq9.o
    IPO Error: unresolved : PL_peepp
            Referenced in /tmp/ipo_iccuB3iq9.o
    IPO Error: unresolved : PL_sortcop
            Referenced in /tmp/ipo_iccuB3iq9.o
    ...
    
    ultimatively failing the whole compile process - of course.

    Bye
     PetaMem
        All Perl:   MT, NLP, NLU

      Sorry, I didn't have any trouble compiling with it so I can't tell you what the issue is. I was using a 32-bit processor -- Pentium 4, I think.
      Here is a message I sent to the mod_perl list with my results from the test.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (3)
As of 2015-07-05 03:11 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (60 votes), past polls