There is probably some fancy tool in the debug menu that might help you out but I haven’t played around with them much so I am not sure. Actually I want to say you can flag nodes for some kind of debug tracking… I may have to look into that again.
What I have, is a few nodes at the beginning and the end of my generator that count the seconds(or milliseconds as it were). So as soon as the generator starts, it starts the clock, and when it ends it prints the time. So right now it prints about .399 seconds to generate the map, and I can make changes and see the difference in the generation time. I could probably print the time at steps throughout the generator to see how long each piece is taking, though right now it is small enough that I don’t care.
You could probably do something similar. Keep time from the start of the game, then print before and after you call the path generation function. Then you make some changes and see how they affect the generation time.