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
Requires
- php: ^7.4 || ^8.0
- neos/fusion: ^7.3 || ^8.0
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.
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