Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Re: What can effect perl startup time?

by Fletch (Bishop)
on Mar 23, 2022 at 02:04 UTC ( [id://11142297]=note: print w/replies, xml ) Need Help??


in reply to What can affect perl startup time?

I can’t recall the dtruss equivalent, but were I looking at this my first inclination would be to get an strace with full timing info including the length of time spent in each system call and then start comparing. You don’t say if there’s differing OS versions installed, but changes in the runtime, standard libraries, third-party but linked in libs, yadda yadda yadda . . . . Handwaving for sure but ballpark two hundredths of a second difference doesn’t strike me as completely outside the realm of what I’d consider a reasonable “expected variation”.

Edit: and I’m basing that .02 difference as .74 vs .72 rounded

The cake is a lie.
The cake is a lie.
The cake is a lie.

Replies are listed 'Best First'.
Re^2: What can effect perl startup time?
by nysus (Parson) on Mar 23, 2022 at 02:21 UTC

    Yeah, I'm inclined to believe all the software installed on the newer mac is somehow bogging things down. The older mac is basically stock with very few apps installed.

    Looks like I will have to jump through security hoops to run strace/dtruss. While I"m curious, I'm not that curious to do all that and then only find out that I have no idea what I'm looking at and going down that rabbit hole. A project for a very rainy day, I suppose.

    $PM = "Perl Monk's";
    $MC = "Most Clueless Friar Abbot Bishop Pontiff Deacon Curate Priest Vicar Parson";
    $nysus = $PM . ' ' . $MC;
    Click here if you love Perl Monks

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others having a coffee break in the Monastery: (7)
As of 2024-04-19 16:28 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found