The Incubator Flamegraph appears to be O(N2) in terms of complexity. Simple profiling showed the getNextFunction in callstack.java to be called over 4b times for a 5M event trace.
Potential solutions:
Do away with the querySingleState and replace it with a query2d and a cache.
The Incubator Flamegraph appears to be O(N2) in terms of complexity. Simple profiling showed the
getNextFunction
in callstack.java to be called over 4b times for a 5M event trace.Potential solutions: