Packagemap is a powerful tool that allows you to explore maps of your Java codebase.
Its query language lets you filter your code and drill down to specific classes, methods, and their interactions. However, as the complexity of your queries increases, the tool’s performance can suffer.
In this blog post, we’ll discuss how we used Go profiling tools to diagnose performance issues with Packagemap’s query execution, and how we improved its performance by building a custom wildcard matcher to replace regular expression parsing.