Closed korniltsev closed 1 year ago
I think we should move this code into pyroscope. Specially if in the future we only want to stream and output pprof. This will make it easier to avoid allocation
some of the fields were skipped to save memory(for example line numbers) as they are currently not used. we may want to improve and skip them with a runtime option
We should pass the line number in pprof if we can, this is supported by the database. Does it also have filename ?
very big merge request
This PR is a complete rewrite of the parser to improve memory allocations.
resolving methods is done without hashing for single chunk JFR file(there is a lazy fallback for hash resolving when there are multiple chunks). (our sdks dont do chunk splitting)