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... #8

Open
Asored-D opened this issue May 14, 2015 · 4 comments
Open

Very slow... #8

Asored-D opened this issue May 14, 2015 · 4 comments

Comments

@Asored-D
Copy link

Hi guys,

i love this package, but if is activated, writing PHP code with Atom goes very slow... (1-2 sec. delay) ..do you know this issue?

Thanks in advance!

@azizur
Copy link
Owner

azizur commented Jun 20, 2015

Please provide the following information:

  • Version of the Atom you are using.
  • Version of the package you are using.
  • List of all the other packages you are using at the same time.

If you really like to be super useful please perform a CPU profiler with the dev tools and send me your result.

@theDanielJLewis
Copy link

I'm getting this, too, so let me be more helpful.

Atom 1.0.2
WordPress API 1.2.1
Other packages: only core
CPU profiler: https://dl.dropboxusercontent.com/u/5502/CPU-20150712T214108.cpuprofile

This slowdown usually happens when Atom tries to suggest other things for me. For example, starting is_ for is_array results in a 2-second hang. But after I've typed it, it works fine.

In my CPU profiler, you'll see that I typed is_array, but the problem didn't happen until I typed something I hadn't just typed, which was array_key_exists.

It seems to hang most on underscores, but that could just be when I notice it.

@azizur
Copy link
Owner

azizur commented Jul 13, 2015

Thank you @danieljlewis.

Quick look at the CPU Profile I am not easily seeing any issue steam form this package.

I will try to test this and look again at the CPU Profile to see if I can find source of the issue.

Once again thank you for providing some context to this issue.

@azizur
Copy link
Owner

azizur commented Mar 6, 2016

I have just updated the plugin please update and let me know if the issue still there.

@azizur azizur added the bug label Mar 8, 2016
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