AdvancedPhotonSource / GSAS-II

Home for GSAS-II: crystallographic and diffraction-based structural characterization of materials
Other
33 stars 14 forks source link

Profile GSAS-II startup #90

Closed briantoby closed 3 weeks ago

briantoby commented 4 weeks ago

It seems that GSAS-II is taking more time to start than it used to need. Where are the delays?

briantoby commented 3 weeks ago

It currently takes ~7 sec for GSAS-II to start on my M3 Mac (I think this goes up by a second or two when the computer has been running for a few weeks without a reboot.) There are two major areas that slow down the startup:

briantoby commented 3 weeks ago

Menu bars are now created when needed in d0cd2d90. The startup time for GSAS-II is now ~1.5 sec on my computer.

briantoby commented 3 weeks ago

Still catching some minor bugs where code accesses menu bar items that may not have been created (in https://github.com/AdvancedPhotonSource/GSAS-II/commit/3638a3a15c5a65e66a6c11c1eef5a90c341631ea). Hope there are not too many more...