Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
Call indexing performance improvement #180
When generating the CallIndex, call targets are converted to strings. This is to allow matching of known call targets against regexes. However, Brakeman was converting all call targets (including huge Sexps) to strings. This was taking up time and memory (I saw a big garbage collector improvement with this change) and it was pointless.
Should help with issue #171
One app I tested this on, which was taking a long time to index call sites, went from ~3.5 minutes to ~2 minutes.