How to check blueprints execution time?

Hi, what’s the quickest way to check how much time a bunch of blueprints take to execute in succession? Like, I have Blueprint A telling Blueprint B to tell Blueprint C to do something. How much from start to finish? Thanks.

I know there’s unreal insights, but I cannot understand any of it.

Try using

Put the result in a variable in A, when C has finished, it tells A and voila

But this would be ‘elapsed time’, not CPU time.

1 Like

Thanks. What’s the difference?

1 Like

Quite a lot :slight_smile:

If you want to know actual CPU ( or GPU ), then you will need to use Insights.

For instance, BP A might spawn something that has a texture that hasn’t streamed yet. So B and C are just waiting for that, doing nothing.

1 Like

Thanks. Is there any proper documentation on that? I couldn’t find anything that can help my case.

1 Like

Documentation? This is Unreal :slight_smile:

Also, anyone who really wants to know, would use insights. That’s what it’s for.

You can tell if blueprints, as a whole, are taking too much CPU with stat unit, and so on.

2 Likes

Thanks. I’ve been trying for the past 3 hours. But I cannot even figure out how or what to search for. I see a spike on the framerate where I think my blueprint chain is running, but I cannot see any of the names of the blueprints or functions I’m using. Don’t know how to look for them or even if they show up at all in insights.

1 Like

Insights is not easy to use. I have only used it when there was no alternative.

I think originally you couldn’t get function names ( unless you used CPP ), but now it may be possible, maybe check this

The ‘callers’ section.

1 Like