nylas-mail icon indicating copy to clipboard operation
nylas-mail copied to clipboard

Slow startup time

Open fhur opened this issue 11 years ago • 7 comments

Did a couple of tests, results are very similar: Test:

  • Close N1 (right click on icon -> quit)
  • Open N1 by clicking on the icon Results: Takes between 9 and 10 seconds for the "loading N1" box to appear and another extra 9 to 10 seconds for the inbox to show up.

Another concern is that when opening N1 I get absolutely no click feedback until 10 seconds, so at first I was not sure if the program was stuck or something.

fhur avatar Dec 02 '15 14:12 fhur

Hi @fhur — thanks for opening this. We're triaging some launch speed issues. Do you know if your computer has a traditional hard drive or an SSD? Also, what platform are you on?

bengotow avatar Dec 02 '15 17:12 bengotow

Hi Ben, I have a SSD Hard drive, and the start time is like fhur describe. I took time and the results: 10 seconds to open the app.

jorosmtz avatar Dec 03 '15 05:12 jorosmtz

On Linux I see around 1-2 seconds for the main window to pop up. It then takes around 5-8 seconds to load N1 from there. I run with debug flags under Linux from source build all on an old SSD.

mbilker avatar Dec 03 '15 05:12 mbilker

Woopsie, my specs are: screen shot 2015-12-05 at 8 31 56 am with flash storage

Running on N1 Version 0.3.23-94e0cb9 (0.3.23-94e0cb9). Also I have no additional plugins installed, this is N1 out-of-the-box

fhur avatar Dec 05 '15 11:12 fhur

@fhur N1 0.3.26 is out with the caching feature for all packages. It should dramatically help with startup time.

mbilker avatar Dec 05 '15 17:12 mbilker

@fhur you should update to the latest version

jstejada avatar Dec 19 '15 01:12 jstejada

@jstejada Update improved startup time. Thanks

fhur avatar Dec 20 '15 12:12 fhur