in reply to Re^2: Slow startup on raspberry pi
in thread Slow startup on raspberry pi
Sorry, expressed myself misleading. One problem is the slow I/O, where the Raspberry spent 5s of 8s in Mojo::Loader, compared with 194ms of 800ms on a MacAir.
The other problem is the hughe (bloated?) code which affects the runtime on both systems, but a human does not recognize the slowness on the fast system. On fast systems this large amount of CPU-cycles needed for class-factories or other INIT things does not matter, even if a restart of a webapp with 600 modules needs a few seconds.
Simple Perl like my $x = shift; is typically 17x slower on the Raspy, some other things have lower factors.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: Slow startup on raspberry pi
by LanX (Saint) on Jan 17, 2015 at 14:32 UTC |