facebook / infer

A static analyzer for Java, C, C++, and Objective-C
http://fbinfer.com/
MIT License
14.96k stars 2.02k forks source link

HTTP Cache #714

Open michaeleiselsc opened 7 years ago

michaeleiselsc commented 7 years ago

When I run Facebook Infer for the iOS code base that I work on, it takes much, much longer than other static analysis tools like the clang static analyzer and OCLint do. In order for me to use it in CI, it would be a big help to have HTTP caching. I'm curious, does Facebook manage to do it pre-merge for all PRs?

jvillard commented 7 years ago

There is no remote caching in infer itself, but some build systems have their own remote caching capabilities. For instance, infer's integration with Buck allows Buck to cache infer's artifacts.

At Facebook we do run infer on every diff.

michaeleiselsc commented 7 years ago

That makes sense, thanks! It would be great to see that in the documentation somewhere, or some section in the FAQ like "Infer is taking too long for me"