Replies: 2 comments 2 replies
-
Morning @Anselmo95 , I'm not surprised a large file takes a long time. The data structure is not really optimized and VSG makes several passes through the file before it starts any analysis. One thing you can do is disable the consistent token rules:
These rules take a long time to run. I think I need to update the data structure to improve performance and to address other issues that are proving difficult to address. Regards, --Jeremy |
Beta Was this translation helpful? Give feedback.
-
Morning @Anselmo95 , I tried to get some information from the Thanks, --Jeremy |
Beta Was this translation helpful? Give feedback.
-
Hello, I have a file containing a package which has 47K lines and it's mostly made of function definition. I know that it is unreasonable and I should split it but probably won't do it any time soon. So I tried to run vsg on it and it takes around 33 minutes with the default configuration.

I was wondering if there was something I could do with the configuration or somewhere else to reduce the runtime.
Just in case here is the output of cProfiler:
And here is the file if someone wants to look at it: prof.zip
Thanks a for this awesome tool !
Beta Was this translation helpful? Give feedback.
All reactions