Closed hehechen closed 1 year ago
It seems that the overhead of dwarf resolving symbol is larger than that of frame pointer. Maybe we can add LRU cache to speed up the efficiency of dwarf resolving. The flame graph for dwarf profiling report: debug section compressed: debug section decompressed:
report
The root cause is https://github.com/pingcap/tiflash/issues/6347#issuecomment-1333038382, so it's no need to add LRU cache in pprof-rs.
pprof-rs
It seems that the overhead of dwarf resolving symbol is larger than that of frame pointer. Maybe we can add LRU cache to speed up the efficiency of dwarf resolving. The flame graph for dwarf profiling
debug section decompressed:
![Fl1VR6cZxV](https://user-images.githubusercontent.com/14118780/204460057-d6d09355-3ab6-4903-b528-d4e2280978b4.jpg)
report
: debug section compressed: