Track cause of slow render I've started using the branched path tracing and like the results, however I'm unable to figure out what the proper settings should be that result in a compromise between a faster render and good results.

Is there any way to track, on a given render, how long each type of sample is taking? (diffuse, glossy, transmission, AO, etc...) If I knew this information I could dial settings down until I find what seems to be a good compromise.

I feel like I'm using higher samples than necessary but every scene is different and will have different "optimal" settings and thus some way (other than trial and error) seems warranted.

Thanks!
So I figured out how to make it myself and folks can find the script here:

Code on pastebin

If you have a very simple scene then you might get some wonky results, as this calculates based on render duration and every single time you render a frame (even the same frame), you'll get different times. The best use for this is on a semi-complex scene so that the various samples (diffuse, transmission, etc.) really get to take effect and modify the total render time.