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

Expected loading time? #13

Open
accunikki opened this issue May 23, 2018 · 5 comments
Open

Expected loading time? #13

accunikki opened this issue May 23, 2018 · 5 comments

Comments

@accunikki
Copy link

Hi there,
My codebase is about 9000 lines of code. But it has been more than 15mins and I am seeing the grey circle loading and when I scrolled down, I saw this.
image
The network seems to be receiving and getting data from the server, lots of them. I am not sure if it should run that long. Can you please address? Thanks!
image

@ZdravkoN
Copy link
Collaborator

Hi @accunikki,

Do you have any errors in the browser console?

Your screenshot doesn’t tell us much.

@accunikki
Copy link
Author

accunikki commented May 23, 2018 via email

@ZdravkoN
Copy link
Collaborator

Ummm we only load a couple of js files. We don’t do 8k requests. You can see all of the files that we load in the html template:
https://github.com/yoshimkd/swift-auto-diagram/blob/master/htmltemplate/diagram.html

Can I ask you give us a screenshot of the network tab in the developer console? I am really interested to see where these 8k requests are going to.

Btw all of the dependencies are local, we don’t use CDN or other online resources to make everything work.
There are various projects with various security requirements, and we wanted to make this tool as little dependent from networking as possible.

@buffstop
Copy link

buffstop commented Aug 21, 2018

I have the same issue.

It works fine parsing a directory with a handful of .swift files.

For more files (176) I get the described behaviour (grey circle loading forever, scroll down -> see see parts of view, unresponsive to user activity).

To check if non-swift files or weird directory names cause the issue I have copied all .swift files of a mid size project to one directory (346 files). The problem persisted.

@ZdravkoN
Copy link
Collaborator

Hi @buffstop,

Thanks for your comment. Sounds to me like the processing takes too much time. I guess there isn’t any error in the browser console.

I will take look and try to solve it.

I can’t give exact ETA for a fix, because I am currently on vacation :)

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

3 participants