Since 4.22, Blueprint functions are ignored when recording stat files which makes it really hard to tell what’s actually going on when profiling.
Here I made a test blueprint with a single function that has some code in it. Here are the profiles of a recorded stat file in both version. On the left is 4.21 and on the right is 4.22.