Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re^2: Performance and Behavioral changes in Perl 5.8.8 and Perl 5.10.1

by LanX (Saint)
on Aug 21, 2017 at 11:57 UTC ( [id://1197727]=note: print w/replies, xml ) Need Help??


in reply to Re: Performance and Behavioral changes in Perl 5.8.8 and Perl 5.10.1
in thread Performance and Behavioral changes in Perl 5.8.8 and Perl 5.10.1

I'm confused and checked several online dicts for the term "to instrument" ...and still not sure what you're saying ...

Do you mean that the profiler before 5.10 wasn't able to hook into BEGIN blocks but only ordinary subs and that the performance impact is a side effect of this measurement itself?

Cheers Rolf
(addicted to the Perl Programming Language and ☆☆☆☆ :)
Je suis Charlie!

  • Comment on Re^2: Performance and Behavioral changes in Perl 5.8.8 and Perl 5.10.1

Replies are listed 'Best First'.
Re^3: Performance and Behavioral changes in Perl 5.8.8 and Perl 5.10.1
by Corion (Patriarch) on Aug 21, 2017 at 12:02 UTC

    "To instrument" means "to measure", but to me at least with a connotation of having points where to hook things to.

    I didn't even recognize the original comment as mine, and I'm not really sure what I meant back then. I guess that my reply stemmed from a reading of perl510delta or the changelog of the profiler.

    But yes, I think I suggested back then that the extra granularity/detail resulted in attributing 17 ms to a BEGIN call that was not separately accounted for in 5.8.8. I guess the time spent in the BEGIN block was added to the time spent in the main program.

      Thanks!

      (my first association for "instrumenting" is to provide a bunch of kindergarten kids with vuvuzelas... ;)

      Cheers Rolf
      (addicted to the Perl Programming Language and ☆☆☆☆ :)
      Je suis Charlie!

        My first reference to "instrumenting" was when "they" hooked the bus/tag cables of a 3490 to a hidden port on a 390-class engine on a lab box and captured the psw on the fly, filled up a tape REAL FAST too.

        I had heard "instrumentation" as a word before (in the sense of adding measuring points/code to a program), but being a non-native speaker, I'd expect the corresponding verb being more something like "instrumentate" :-)

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others surveying the Monastery: (2)
As of 2024-04-24 23:04 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found