flowpack/fusion-tracing

Profile Fusion rendering by creating traces for Trace-Viewer

Installs: 13 905

Dependents: 0

Suggesters: 0

Security: 0

Stars: 15

Watchers: 11

Forks: 2

Open Issues: 0

Type:neos-package

1.2.0 2022-12-11 21:03 UTC

This package is auto-updated.

Last update: 2024-12-19 16:33:33 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