-
Notifications
You must be signed in to change notification settings - Fork 121
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
Chrome randomly hangs, trying to load URL that isn't served #216
Comments
Had a similar issue and wrote a blog post about how I analyzed it: Using the node profiler and dtrace / dtruss (mac os version of strace) I found out that compilation of the scss files took a lot of time. After overwriting the scss files with empty files the performance problems vanished. If scss files are not the problem by using of the node profiler and strace / dtruss you should be able to find out what causes the problem (see blog post). |
Thanks for the suggestion and the great blog post. I fell off the wagon on this project but got back around to it today. Unfortunately there isn't anything obvious in my profile that makes it look like it is spinning its wheels. I managed to capture both a run that never loaded (just spun eternally as I describe above) and a run that worked. I can't tell anything obviously different between the two runs. The one that never worked has no javascript entries, while the one that did work has entries: Tests ran:
Tests didn't run:
But otherwise things look roughly the same. 2 ticks in a shared library Do you happen to have any other suggestions? It looks like whatever web server karma is starting isn't working for some reason. I'd love another way to try and debug that. |
Interestingly, I just noticed that if I sent |
Roughly 50-80% of the time, when I run karma Chrome starts but the tests never run. Instead Chrome waits, trying to load a URL like
http://localhost:9876/?id=36448760
. Unlike with #63, however, if I load that URL in a different Chrome instance, it too never loads.I've tried adding
loglevel: config.LOG_DEBUG
, but it doesn't add anything that looks relevant to me.Can you give me any additional pointers on what I might debug? I've tried everything I can think of and can't seem to get past this. Some output is provided below.
The output that does nothing looks like this:
The output when it works looks like this. It appears to just proceed from where the previous output hangs:
The text was updated successfully, but these errors were encountered: