x

Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

Using StartFPSChart/StopFPSChart in automation

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:

  1. Load the first level

  2. Wait a second

  3. StartFPSChart log-level1

  4. Move the camera around for a few seconds

  5. StopFPSChart

  6. 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.

Product Version: UE 4.10
Tags:
more ▼

asked Feb 01 '16 at 11:23 PM in Using UE4

avatar image

jshagam
36 1 3 5

avatar image jshagam Feb 27 '16 at 12:12 AM

This is still causing me problems. :( Why is automation testing so poorly-documented and lacking in basic perf functionality?

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

1 answer: sort voted first

Hi, I was just searching for same thing and after your question I found in code that there is console setting for it: t.FPSChart.OpenFolderOnDump 0

Default is 1 so it is opening Explorer on StopFPSChart. But at least for me it is working to set it to 0 before test and no Explorer window appear.

I now have 4.14 version of Unreal.

more ▼

answered Feb 14 '17 at 01:43 PM

avatar image

Nesquick
6 1

(comments are locked)
10|2000 characters needed characters left
Viewable by all users
Your answer
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question