Commit 07076ed
committed
fix: only load profiler services when Symfony profiler is available
The profiler.yaml was loaded unconditionally, causing GraphQLCollector's
event listener to run on every GraphQL request in production. This
performed unnecessary query parsing and deep-cloning of results/variables
that were never read.1 parent 7e9f36e commit 07076ed
1 file changed
Lines changed: 4 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
86 | 86 | | |
87 | 87 | | |
88 | 88 | | |
89 | | - | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
90 | 93 | | |
91 | 94 | | |
92 | 95 | | |
| |||
0 commit comments