I’m trying to use StartFPSChart
/StopFPSChart
in a scripted way to automatically determine if someone checks in a performance-killing change to our project. The flow is something like this:
- Load the first level
- Wait a second
StartFPSChart log-level1
- Move the camera around for a few seconds
StopFPSChart
- Repeat on the next level, until all levels are exhausted
However, the problem I’m running into is that when StopFPSChart
is run, the system automatically opens up the file folder with the last captured logs, thus killing performance for the remaining chapters since UE is now in the background.
Is there some way to stop Explorer from opening up? I didn’t see any parameters to StopFPSChart
, nor could I even find where in the engine source where it was opening Explorer in the first place.
Or, better yet, is there a way to pause the FPS recording so that I can get all of the levels’ framerate logs into a single file (which would make my life easier anyway)? Unfortunately our levels can take a second or two to load and I don’t want to have to try to tell the difference between a level-loading pause and a momentary perf drop in the analysis.