Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

slow startup time of 0.3.0-rc1 #7682

Closed
goszlanyi opened this issue Jul 21, 2014 · 2 comments
Closed

slow startup time of 0.3.0-rc1 #7682

goszlanyi opened this issue Jul 21, 2014 · 2 comments
Labels
system:windows Affects only Windows

Comments

@goszlanyi
Copy link

Two months ago there was a downloadable prerelease
with a really fast startup time, ~1 sec on my dual-core old laptop.

Version 0.3.0-prerelease+3082 (2014-05-17 20:09 UTC)
Commit 245782c* (64 days old master)
i686-w64-mingw32

Now the startup time is up to >6 seconds again.

Version 0.3.0-rc1+110 (2014-07-21 05:04 UTC)
Commit e5451a2 (0 days old master)
i686-w64-mingw32

Is this normal, because of some new features?
What startup time can be expected for the 0.3 release?

@tkelman
Copy link
Contributor

tkelman commented Jul 21, 2014

Check the folder lib/julia. Do you see a sys.dll file? If so, you'll get fast startup but much less useful backtraces on Windows. And the sys.dll file is not typically portable across multiple machines unless you build Julia with specific options. If you had a Windows binary build in May that included sys.dll, that was probably by accident.

For Windows binary downloads of the 0.3 release, I believe the intent is to not include sys.dll because of portability and backtrace concerns. Hopefully when Julia switches to LLVM 3.5, backtraces from precompiled code can be improved on Windows too (the Rust guys landed SEH support in LLVM a few weeks ago), and this can be revisited so binary installations on Windows can also enjoy faster startup.

@goszlanyi
Copy link
Author

You are right, the difference between fast and slow startup time is the existence of lib/julia/sys.dll.
Thank you very much for explaining the current situation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
system:windows Affects only Windows
Projects
None yet
Development

No branches or pull requests

3 participants