flowpack/fusion-tracing

Profile Fusion rendering by creating traces for Trace-Viewer

1.0.0 2021-06-16 06:26 UTC

This package is auto-updated.

Last update: 2021-10-14 14:52:58 UTC


README

Profile Fusion rendering by creating traces for Trace-Viewer

Installation

composer require flowpack/fusion-tracing

Usage

  • perform requests to Neos with X-Fusion-Tracing: my-trace-name header
  • or call Flowpack\Fusion\Tracing\Aspect\RuntimeTracing::enable explicitly as needed

Traces are written to FLOW_PATH_DATA/Logs/Traces in a Tracer-Viewer compatible format. Open about:tracing in Chrome/Chromium and load the generated trace.

Screenshot

Interpreting the trace

All evaluations in Fusion are traced with the time of beginning and end. The so called flamegraph visualizes the recursive evaluation of a Fusion rendering.

License

MIT