Profiler

The profiler is a tool that allows you to measure the performance of your Daslang scripts. It can be used to identify bottlenecks and optimize your code.

EdenSpark supports integration with the daProfiler tool. daProfiler is a standalone application that can be used to profile Daslang scripts. It can be downloaded from the following link: https://github.com/GaijinEntertainment/daProfiler/releases

Integration

  • Add the line require engine.runtime.das_profiler to your main script

  • Start the game with the command-line argument -config:debug/daProfilerAutoStart:b=yes

Usage

  • Download daProfiler

  • Integrate the profiler into your Daslang script

  • Open daProfiler and look for functions. All Daslang functions start with the “das:” prefix

Functions

You may use the Show Source Code button to open the *.das file directly in daProfiler.

Show Source Code Source Code