Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Re^2: Perl with internal Benchmark/Profiler

by PetaMem (Priest)
on Jun 16, 2006 at 17:02 UTC ( #555834=note: print w/replies, xml ) Need Help??


in reply to Re: Perl with internal Benchmark/Profiler
in thread Perl with internal Benchmark/Profiler

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

  • Comment on Re^2: Perl with internal Benchmark/Profiler

Replies are listed 'Best First'.
Re^3: Perl with internal Benchmark/Profiler
by perrin (Chancellor) on Jun 16, 2006 at 19:27 UTC
    Here is a message I sent to the mod_perl list with my results from the test.
Re^3: Perl with internal Benchmark/Profiler
by perrin (Chancellor) on Jun 16, 2006 at 19:24 UTC
    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.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://555834]
help
Chatterbox?
[ambrus]: Corion: what I don't understand is, if you make a one-shot AnyEvent timer with short timeout, does this code guarantee that the Prima timer can't queue two timeout events before invoking any of them?
[ambrus]: Because that could break AnyEvent code, which is why I added a guard.
[ambrus]: (It might be easier to use the callback scalar as a guard, as in $c and &$c(); $c = ();)
[Corion]: ambrus: Hurr - yes, that might happen, as Prima will queue lots of stuff (Well, Windows will)
[Corion]: But I'm really amazed that it just took this little code (plus the idle handler I have in mind and something else dk suggested)
[Corion]: ambrus: I wrote the handler so that it stops the timer if it's supposed to be a one-shot

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (7)
As of 2016-12-09 09:01 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    On a regular basis, I'm most likely to spy upon:













    Results (150 votes). Check out past polls.