Skip to content

Search

Tillbaka
· 1 min lästid

Profiler and logs

A Profiler dock with each stage's share of the frame, and a log file per run.

The Profiler dock shows what each stage of the frame costs, and every run writes its log to a file.

The Profiler dock under a running game: the frame against its 16.7 ms budget, then update, scene_sync, render and last

  • balaur run --timings prints the same stages when a headless run ends.
  • Each run writes logs/run.log in the game's user data folder and keeps the last five.
  • A panic reaches the file before the process dies.
  • log::since(cursor) reads the new lines from a script.

The log page in Settings

The editor