mte/unikernel/duniverse/dune_/doc/advanced/profiling-dune.rst
2025-11-11 02:07:51 +01:00

15 lines
554 B
ReStructuredText

Profiling Dune
==============
.. TODO(diataxis)
- reference: the CLI
- howto: profiling a dune build
If ``--trace-file FILE`` is passed, Dune will write detailed data about internal
operations, such as the timing of commands that Dune runs.
The format is compatible with `Catapult trace-viewer`_. In particular, these
files can be loaded into Chromium's ``chrome://tracing``. Note that the exact
format is subject to change between versions.
.. _Catapult trace-viewer: https://github.com/catapult-project/catapult/blob/master/tracing/README.md