Beefy Boxes and Bandwidth Generously Provided by pair Networks DiBona
go ahead... be a heretic
 
PerlMonks  

Re^5: Subroutine overhead in Perl

by traveler (Parson)
on Nov 08, 2007 at 16:54 UTC ( #649754=note: print w/ replies, xml ) Need Help??


in reply to Re^4: Subroutine overhead in Perl
in thread Subroutine overhead in Perl

I'm sorry: I was probably not clear. The timing for 'java' does not include the 'javac' step, but the perl timing includes the conversion of source to code for the interpreter. I was just suggesting that the 'time' commands were not timing the same things.


Comment on Re^5: Subroutine overhead in Perl
Re^6: Subroutine overhead in Perl
by ikegami (Pope) on Nov 08, 2007 at 17:15 UTC

    That is what I understood, so I guess I was the one who wasn't clear. I'm saying he *is* timing the same thing: The time it takes to run the program. Using javac is not part of running a Java program whereas parsing the Perl sources is part of running a Perl program. Perl and Java do things differently, but that doesn't mean he's not timing the same thing. (If they did things the same way, what would be the point of timing them?)

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (6)
As of 2014-04-20 12:32 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    April first is:







    Results (485 votes), past polls