ArtcoreStudios: 所有产品五折优惠

Micro Benchmark - Profiler Tool for Blueprint and Code Performance Timing

maschere - 代码插件 - 2022/04/23

Directly measure the execution time of any blueprint or code block by wrapping it with a simple "tic" and "toc" statement.

  • 支持的平台
  • 支持的引擎版本
    4.26 - 4.27, 5.0 - 5.1
  • 下载类型
    引擎插件
    此产品包含一款代码插件,含有预编译的二进制文件以及与虚幻引擎集成的所有源代码,能够安装到您选择的引擎版本中,并根据每个项目的需求启动。

Have you ever looked at a few lines of your code or a block of Blueprint nodes and asked yourself: "I wonder how long this block takes?" Well, wonder no more -- measure it!

With MicroBenchmark, call Tic (in Blueprints or C++) before the block in question and Toc directly after. You instantly get a timing profile of the execution time with nanosecond accuracy. Optimize your code by comparing different implementations, find out if native C++ code is faster compared to pure Blueprints, identify bottlenecks and get a better understanding of your code's performance.

Tutorial & Documentation | Support Forum


Changelog:

  • 2022-12-11: UE 5.1 compatibility update
  • 2022-07-10: Fixed bug in seconds display

技术细节

Features:

  •  Easy measuring of C++ or Blueprint execution time
  •  Supports averaging results over many calls to suppress noise / outliers
  •  Plug and Play, with no setup
  • Comprehensive documentation
  • All C++ code is fully documented and source-open

Code Modules:

  •  MicroBenchmarkTimer (Runtime)

Number of Blueprints: 1

Number of C++ Classes: 3

Supported Development Platforms: Windows, Mac, Linux

Documentation: https://maschere.github.io/asset-documentation/micro-benchmark

Example Project: Demo Blueprint actor included in plugin content folder.

Important/Additional Notes: The plugin automatically disables any performance measurement code in Shipping builds.