This page has been translated automatically.
Getting Started
Migrating to UNIGINE 2.0
C++ API Migration
UnigineScript
The Language
Core Library
Engine Library
Node-Related Classes
GUI-Related Classes
Plugins Library
High-Level Systems
Samples
Usage Examples
C++ API
API Reference
Integration Samples
Usage Examples
C++ Plugins
Внимание! Эта версия документация УСТАРЕЛА, поскольку относится к более ранней версии SDK! Пожалуйста, переключитесь на самую актуальную документацию для последней версии SDK.
Внимание! Эта версия документации описывает устаревшую версию SDK, которая больше не поддерживается! Пожалуйста, обновитесь до последней версии SDK.

Performance Analyzer

A number of console commands are available for analizing performance of the scripts and the engine.

Per-function analysis can be output into the console or logged to a file (if its name is specified as a command argument, for example world_analyze new_file.txt

Notice
Performance analyzer results are valid only in a single-threaded mode. If threading for any module is enabled (world, physics or pathfinding), values of counters will not be correct.

Logged Data

Data logged by analyzers includes the following:

  • total seconds — the total number of seconds the interpreter spent executing this function.
  • self seconds — the number of seconds accounted for by this function alone, without internal calls of other functions.
  • calls — the total number of times the function was called.
  • total ms/call — the average number of milliseconds spent in this function and its descendants per call.
  • self ms/call — the average number of milliseconds spent in this function per call.
  • name — function name.
Last update: 03.07.2017
Build: ()