nuke.performanceProfileFilename

nuke.performanceProfileFilename() File to write performance profile to for this session.
Returns:

the profile filename if performance timers are in use, otherwise returns None.