This plugin allows you to benchmark your code in Blueprints with special node or with special macros in C++.
Video demonstration: Link