블랙 프라이데이 크리에이터 세일을 시작합니다! 12월 4일 오후 1시 59분까지 엄선된 콘텐츠를 70% 할인받으세요.

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.