Open accunikki opened 6 years ago
Hi @accunikki,
Do you have any errors in the browser console?
Your screenshot doesn’t tell us much.
There is no error on the console but the network is showing that it has 8900 requests but transferring 0 bytes of data at all time after running for 15 mins. And the diagram does not look like a complete product like your screenshot.
On May 23, 2018, at 2:23 PM, Zdravko Nikolovski notifications@github.com<mailto:notifications@github.com> wrote:
Hi @accunikkihttps://github.com/accunikki,
Do you have any errors in the browser console?
Your screenshot doesn’t tell us much.
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHubhttps://github.com/yoshimkd/swift-auto-diagram/issues/13#issuecomment-391501060, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AltEi1_CvVHV5dT2c0M3zT1oQ-bl-Cz9ks5t1dNVgaJpZM4UK9fy.
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.
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.
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 :)
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. 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!