Loading...
37
2 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 suck at this game

More power-ups

Ghost, Invincibility & Impulse shock

Insta Deform Plugin

Don't think I'll end up using it

Last week at LVL UP EXPO, we celebrated great games made by Jolters including Baldi's Basics Plus by @BasicallyGames !

Buy it on Game Jolt: https://gamejolt.com/games/baldis-basics-plus/481026

Thanks to Razer for providing the laptops and peripherals!

Weird Cars

Last week at LVL UP EXPO, Game Jolt celebrated great games made by Jolters including The Wild at Heart by @moonlightkids !

Check out the game: https://gamejolt.com/games/the-wild-at-heart/500465

Thanks to Razer for providing the laptops and peripherals!

Adding Power-ups

Only 3 so far (Landmine, EMP, Boost) but I'm gonna work on adding at least 6

Business is Goobin

Last week at LVL UP EXPO, Game Jolt celebrated great games made by Jolters including Yellow Taxi Goes Vroom by @thoseawesomeguys !

Play the demo: https://gamejolt.com/games/yellowtaxigoesvroom/918960

Thanks to Razer for providing the laptops and peripherals!

What did @Mausy see?