Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Re^3: Perl startup and excessive "stat" use on module load

by LanX (Saint)
on Jan 01, 2021 at 23:15 UTC ( [id://11126113]=note: print w/replies, xml ) Need Help??


in reply to Re^2: Perl startup and excessive "stat" use on module load
in thread Perl startup and excessive "stat" use on module load

> this is probably the best all-around choice.

I suppose you are referring to the persistent process solution?

> Given the OP's description of his IO-sensitive environment,

I don't buy this "stat" problem though, till the OP really benchmarked it.

IO goes thru multiple levels of optimizations and caching and it wouldn't be the first time someone threw an XY problem at us.

Though if he's just unhappy with start-up time, then "deamonization" is almost always a safe bet.

(well unless he's talking about too many different apps with too much of a memory footprint)

Cheers Rolf
(addicted to the Perl Programming Language :)
Wikisyntax for the Monastery

  • Comment on Re^3: Perl startup and excessive "stat" use on module load

Replies are listed 'Best First'.
Re^4: Perl startup and excessive "stat" use on module load
by shmem (Chancellor) on Jan 01, 2021 at 23:45 UTC
    (well unless he's talking about too many different apps with too much of a memory footprint)

    wait, why does Java come to my mind?

    perl -le'print map{pack c,($-++?1:13)+ord}split//,ESEL'

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others meditating upon the Monastery: (6)
As of 2024-04-26 08:15 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found