I was dabbling with chucking out a per frame performance monitor file whilst i cache (start, cook geo, stop, save profile). Largely seems to work as expected but theres a few things i'm unsure about:
1. The performance monitor seems to be getting clogged up with all these profiles, i cant see how to purge them once saved? it sounds like
would do it but it doesnt look like you can both stop / save the stats and cancel?
2. I wanted to do this accross pre / post frame scripts but i couldnt find how you would reference the profile again if you dont have the variable set in one script like the helps example (
). I thought there would be a kind of
profile = hou.perfMon.startProfile()
way of doing this? I also tried active profile but it didnt seem to be quite right
Anyone done workflows with this and got useful tips?