Loading...
42
4 months ago

UE4 Blueprint vs C++ Performance Test

plus Hybrid Blueprint C++ approach

Read article if you wanna know what I'm doing


I'm running this simple code on loop 25 times each frame

BP

bp_calculation.png
main_event.png

C++

cpp_.png

Hybrid (C++ & BP)

cpp_from_bp.png

Blueprint performed the worst because it's an interpreted language and needs a virtual machine to execute, resulting in overhead during execution.

Direct C++ execution is the fastest (obviously).

Blueprint/C++ hybrid approach wasn't far behind. This is what I mostly use.


Do note that this is worst case scenario; no one is gonna be running tick on 2000 actors.

In general the performance difference (at least on PC) is super small to be even noticeable, unless you're running long tick code on many actors.



0 comments

Loading...

Next up

Devil Z

Nissan Fairlady Z S30

hey so like,,, remember the art I told you im too lazy to finish?

Happy #WIPWednesday! Are you working on a game? Making some art? Practicing a song? Something else? Tell us in the comments!

Car Aura

Unreal + Medibang

Now what did @Manic0626 see?

Happy #WIPWednesday! Are you working on a game? Making some art? Practicing a song? Something else? Tell us in the comments!

Stupid Polls community is gone :(