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

very slow --output-o generation even for trivial expressions #26702

Open
TsurHerman opened this issue Apr 4, 2018 · 2 comments
Open

very slow --output-o generation even for trivial expressions #26702

TsurHerman opened this issue Apr 4, 2018 · 2 comments

Comments

@TsurHerman
Copy link

tsurherman$ time julia -J/Applications/Julia-0.6.app/Contents/Resources/julia/lib/julia/sys.dylib --startup-file=no --output-o A.o -e"1+1"

real	1m44.981s
user	1m43.661s
sys	0m1.466s

I wonder if there a way to speed it up .. --output-ji performance on comparison is reasonable.

@JeffBezanson
Copy link
Sponsor Member

This is probably because optimizing and generating native code is the slowest part of the compiler. We desperately want to speed it up, but it doesn't seem to be easy.

@TsurHerman
Copy link
Author

But in this example there is nothing much to compile .. just the expression 1+1 and this it is not even assigned so there is no new symbols defined .. the output of this run should be basically the .o version of sys.dylib no?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants