----- Original Message ----- From: "chm" <[email protected]>
To: "Chris Marshall" <[email protected]>
Cc: <[email protected]>
Sent: Tuesday, September 13, 2011 9:01 PM
Subject: Re: [Perldl] auto pthread performance gain


Running the :hisreswallclock version of t/pthread_auto.t
on the original Athlon X2 Dual Core machine with the
'$a **= 1.3' operation now shows a 2X speedup as hoped...

Also running an Athlon (64) X2 Dual Core processor, using the current git version of pthread_auto.t I get :

######################################
C:\sisyphusion\PDL>perl -Mblib t/pthread_auto.t
1..26
Benchmark: timing 50 iterations of threaded...
threaded: 0.826371 wallclock secs ( 1.38 usr + 0.11 sys = 1.49 CPU) @ 33.67/s (n=50)
           (warning: too few iterations for a reliable count)
ok 1
Benchmark: timing 50 iterations of unthreaded...
unthreaded: 0.923811 wallclock secs ( 0.91 usr + 0.00 sys = 0.91 CPU) @ 55.19/s (n=50)
           (warning: too few iterations for a reliable count)
########################################

Is that good ?
It doesn't look very good to me, but maybe I misunderstand something.

Cheers,
Rob


_______________________________________________
Perldl mailing list
[email protected]
http://mailman.jach.hawaii.edu/mailman/listinfo/perldl

Reply via email to