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

First save takes a long time #876

Closed
3 tasks done
philippelesaux opened this issue Mar 29, 2016 · 4 comments
Closed
3 tasks done

First save takes a long time #876

philippelesaux opened this issue Mar 29, 2016 · 4 comments

Comments

@philippelesaux
Copy link

Description

When saving a file for the first time after opening Atom, the process takes much longer than normal. The issue goes away when opening Atom in safe mode or disabling the beautify package. After the first save, everything works as normal.

Steps to Reproduce

  1. Open Atom
  2. Modify a file and save it
  3. Atom locks up for close to a minute

Debug

Here is a link to the debug.md Gist: https://gist.github.com/philippelesaux/34138a193b5762f47d170fc2c87d080f

Here is a screenshot of my profile as the issue happens:
screen shot 2016-03-28 at 6 44 46 pm

And here is my saved cpu profile from the screenshot:
https://dl.dropboxusercontent.com/u/13874732/CPU-20160328T184112.cpuprofile

Checklist

  • I have tried uninstalling and reinstalling Atom Beautify to ensure it installed properly
  • Searched for existing Atom Beautify Issues at https://github.com/Glavin001/atom-beautify/issues
    so I know this is not a duplicate issue
  • Generated debugging information and added link for debug.md Gist to this issue
@Glavin001
Copy link
Owner

I have experienced this, too, however I was not sure if it was Atom Beautify. Now that multiple users (including myself) have confirmed it, I deem this issue top priority.

I'm working on it now. Thank you for your patience!

@Glavin001
Copy link
Owner

Published to v0.29.0

Let me know if it is still slow! This should be a fairly dramatic performance improvement when the package activates. Still more improvements to go!

@Glavin001
Copy link
Owner

I'm not sure why I reopened this. Regardless, I will be looking to make performance improvements in future releases 😃 .

@unigazer
Copy link

unigazer commented Jun 8, 2017

I also remember that your package took a lot of time to install on 5200 RPM HDD, maybe like ~15 minutes. I was surprised today that it took only a couple of seconds to install your package. Job well done! 😃

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

3 participants