http://www.perlmonks.org?node_id=555475


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

Replies are listed 'Best First'.
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

      Here is a message I sent to the mod_perl list with my results from the test.
      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.