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

I dont know wht im doin @Victoree

Car Aura

Unreal + Medibang

Happy Video Game Day!

July 8 is Video Game Day, a holiday that's obviously close to our hearts at Game Jolt.

Celebrate by completing our quests! They won't be around long, so get the rewards while you can.

Devil Z

Nissan Fairlady Z S30

@ryon is a Jolter to Watch, game dev, programmer, and artist who worked on Five Nights at Friedrich's! Follow @ryon before the quest ends on July 15 and you'll get Coins!

Stupid Polls community is gone :(

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

Lockdown UE5 Edition

v1.5