develooper Front page | perl.perl5.porters | Postings from January 2008

Re: dtrace and Perl (again)

Thread Previous
Andy Armstrong
January 6, 2008 02:45
Re: dtrace and Perl (again)
Message ID:
On 6 Jan 2008, at 05:29, Steve Peters wrote:
> Mac OS X has a dtracable Perl actually.
> The Mac OS X patches are available at

Indeed. There seem to be at least four different sets of patches (or  
ed scripts in that case) floating around that add dtrace probes to sub  

My interest is in

a) integrating it all nicely so you can just add an option to Configure

b) minimising the performance hit.

All the extant patches slow sub calls down by between 10% and 20%. The  
real world hit is far smaller; as soon as you actually do something in  
the sub the execution time dwarfs the call time - but I'd still like  
to get it faster if possible. And definitely better integrated.

Andy Armstrong, Hexten

Thread Previous Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About