On our codebased the MISRA checker takes a long time to run (minutes).
I've done some initial profiling. Seems the token and string matching really eat up resources. Looking at this profile I'm also suspect that there may be some sort of issue with how things are setup. The code base only has 67kloc yet simpleMatch is called almost 37 million times? Seems excessive.
On our codebased the MISRA checker takes a long time to run (minutes).
I've done some initial profiling. Seems the token and string matching really eat up resources. Looking at this profile I'm also suspect that there may be some sort of issue with how things are setup. The code base only has 67kloc yet simpleMatch is called almost 37 million times? Seems excessive.
Thanks! I did not worry much about performance when I wrote the addon. If you want to speed it up feel free to do it.