Devel::NYTProf is a powerful feature-rich source code profiler for Perl. (Mostly in maintenance mode, so PRs are much more likely to be acted upon than Issues.)
Unless we get a test program that demonstrates the problem, we will be unable to address this issue. (And since it involves flamegraphs which requires javascript expertise, I will be unable to address this issue.)
details here