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

My new & probably my last project for a while

based on Superliminal fan game I created almost 2 years ago

Gotta finish this artistic shader nightmare

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

Follow @Finji on Game Jolt!

They publish a bunch of cool video games and make some themselves too! They're currently working on developing Usual June (https://gamejolt.com/games/usualjune/999157).

Stupid Polls community is gone :(

@VuVuuInc is a Jolter to Watchand solo game dev who created 6 games including Tiny Terraces! Follow @VuVuuInc before the quest ends on July 22 and you'll get Coins!

Car Aura

Unreal + Medibang