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

Improving the sourcing time ~100ms #282

Open
PezCoder opened this issue Oct 25, 2018 · 1 comment
Open

Improving the sourcing time ~100ms #282

PezCoder opened this issue Oct 25, 2018 · 1 comment
Assignees

Comments

@PezCoder
Copy link

PezCoder commented Oct 25, 2018

What ?

# Sourcing command in my ~/.zshrc
[ -s "/Users/pezcoder/.scm_breeze/scm_breeze.sh" ] && source "/Users/pezcoder/.scm_breeze/scm_breeze.sh"
  • The first one's is sourcing without scm_breeze (~200ms)
    & the later one's are with scm_breeze (~300ms)

screenshot 2018-10-25 at 12 14 07 pm

It takes around ~100 ms to source scm_breeze.
Is there a way this can be improved further or maybe can be lazy initialised to when the first scm_breeze shortcut is used.

@ghthor
Copy link
Member

ghthor commented Oct 26, 2018

Yes, I agree. There has to absolutely be a way to speed this up.

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

No branches or pull requests

2 participants