From: Michael Neumann Date: 2004-11-24T20:42:51+09:00 Subject: Re: [Ann] Checkpointing Ruby applications (DragonFlyBSD only) Michael Neumann wrote: > Lothar Scholz wrote: > >> Hello Michael, >> >> MN> Checkpoint.checkpoint('dump') do >> MN> # setup sockets on resume >> MN> $conn = TCPServer.open('localhost', 9999) >> MN> end >> >> MN> If you resume from "dump" (type 'checkpt -r dump' on command line, or >> MN> 'ruby -r checkpoint -e 'Checkpoint.resume("dump")'), the block >> will be >> MN> executed. >> >> Did you any measurements how much time is saved for startup of a >> complexer ruby program with lots of requires ? Something like >> FreeRide would be nice. I don't have BSD installed so i can't do it >> myself. > > > Not yet. I never had timing problems with lots of requires... > If I can compile freeride (FX...) easily I'll report my results. It's not possible to restore freeride (or any GUI programm, I guess), as X11 is involved... Sockets! Regards, Michael