Hacker News new | ask | show | jobs
by cdnsteve 3845 days ago
How is performance of Phan? Nested looping checks in phase 2 scans sound intensive and bottleneck-ish.
1 comments

Analysis takes a lot of CPU and we're not doing any parallel processing. Phan itself is about 30k lines of code and takes about 1.5s for a clean run.

That being said, you should take a look at the '-s' flag for saving state to a sqlite database. After the initial run the stored state can be used to only scan changed files. For a patch with a few files changed it should be about 0.5s to run the analysis.