Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Re^4: Slow startup on raspberry pi

by LanX (Saint)
on Jan 16, 2015 at 20:40 UTC ( [id://1113547]=note: print w/replies, xml ) Need Help??


in reply to Re^3: Slow startup on raspberry pi
in thread Slow startup on raspberry pi

Thanks, but I'm not the OP ;)

and FWIW I'm aware that string eval is slow, but still it shouldn't have a disproportional effect on PI, otherwise I'd like to know why .

Cheers Rolf

PS: Je suis Charlie!

Replies are listed 'Best First'.
Re^5: Slow startup on raspberry pi
by hardburn (Abbot) on Jan 16, 2015 at 21:26 UTC

    D'oh, sorry.

    Actually, one thing I noticed is that his script uses threads. And then I noticed, to my horror, that Raspbian's perl is compiled with threads by default. Getting rid of that is going to be maybe a 10-20% speedup right there.


    "There is no shame in being self-taught, only in not trying to learn in the first place." -- Atrus, Myst: The Book of D'ni.

      IIRC, Debian also compiles Perl with 64bit integers in all the supported architectures. Maybe it is the same for Raspbian.

Log In?
Username:
Password:

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

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

    No recent polls found