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.