Re: [racket-users] Reducing Program Startup Time

2016-12-06 Thread Jens Axel Søgaard
Time to add a splash screen to distract from the pause! /Jens Axel 2016-12-06 7:19 GMT+01:00 Lehi Toskin : > On Monday, December 5, 2016 at 2:51:26 PM UTC-8, Dan Liebgold wrote: > > Ok, those tests aren't particularly illumating (at least they were easy!) > > > > Is your

Re: [racket-users] Reducing Program Startup Time

2016-12-05 Thread Lehi Toskin
On Monday, December 5, 2016 at 2:51:26 PM UTC-8, Dan Liebgold wrote: > Ok, those tests aren't particularly illumating (at least they were easy!) > > Is your Racket distribution on a local drive? Network performance can make a > big difference. > The Racket distribution I'm using is on my

Re: [racket-users] Reducing Program Startup Time

2016-12-05 Thread Dan Liebgold
Ok, those tests aren't particularly illumating (at least they were easy!) Is your Racket distribution on a local drive? Network performance can make a big difference. We've also found that the minimal Racket distribution can be quite a bit quicker when pulling in packages outside the main

Re: [racket-users] Reducing Program Startup Time

2016-12-05 Thread Lehi Toskin
On Monday, December 5, 2016 at 12:08:12 PM UTC-8, Dan Liebgold wrote: > Are you sure you have up to date .zo files for all your .rkt files? > > How's the timing if you add '-c' to your Racket commandline? How about '-j'? > These first two tests are with the lazy-require code. If I add '-c': $

Re: [racket-users] Reducing Program Startup Time

2016-12-05 Thread Dan Liebgold
Are you sure you have up to date .zo files for all your .rkt files? How's the timing if you add '-c' to your Racket commandline? How about '-j'? On Sunday, December 4, 2016 at 4:11:51 PM UTC-8, Lehi Toskin wrote: > ... -- You received this message because you are subscribed to the Google

Re: [racket-users] Reducing Program Startup Time

2016-12-04 Thread Lehi Toskin
Dupéron Georges I did what you suggested and placed a displayln at the beginning. There's a wait time between when I execute the program and then everything happens all at once - the displayln occurs at the same time as when the GUI spawns. > On Sunday, December 4, 2016 at 10:05:23 AM UTC-8,

Re: [racket-users] Reducing Program Startup Time

2016-12-04 Thread Matthias Felleisen
> On Dec 3, 2016, at 9:40 PM, Dupéron Georges > wrote: > > A few ideas: > > 1) Loading a lot of modules can be slow. You are already avoiding that by > using racket/base and racket/gui/base, so that's good, but it already takes > me 0.5s just to require these

[racket-users] Reducing Program Startup Time

2016-12-02 Thread Lehi Toskin
I have a GUI program (located here, for reference: https://github.com/lehitoskin/ivy.git ) I'm working on and I've found that the time it takes to go from clicking on the binary (or calling from CLI) to getting a fully loaded window takes about 2.5 ~ 3 seconds. What I would like is to get it