@@ -144,16 +144,16 @@ |
||
| 144 | 144 | 'requestId' => Webperf::$requestUuid, |
| 145 | 145 | 'url' => Webperf::$requestUrl ?? DataSample::PLACEHOLDER_URL, |
| 146 | 146 | 'queryString' => $request->getQueryString(), |
| 147 | - 'craftTotalMs' => (int)($stats['database']['duration'] |
|
| 147 | + 'craftTotalMs' => (int) ($stats['database']['duration'] |
|
| 148 | 148 | + $stats['twig']['duration'] |
| 149 | 149 | + $stats['other']['duration']), |
| 150 | - 'craftDbMs' => (int)$stats['database']['duration'], |
|
| 151 | - 'craftDbCnt' => (int)$stats['database']['count'], |
|
| 152 | - 'craftTwigMs' => (int)$stats['twig']['duration'], |
|
| 153 | - 'craftTwigCnt' => (int)$stats['twig']['count'], |
|
| 154 | - 'craftOtherMs' => (int)$stats['other']['duration'], |
|
| 155 | - 'craftOtherCnt' => (int)$stats['other']['count'], |
|
| 156 | - 'craftTotalMemory' => (int)($stats['database']['memory'] |
|
| 150 | + 'craftDbMs' => (int) $stats['database']['duration'], |
|
| 151 | + 'craftDbCnt' => (int) $stats['database']['count'], |
|
| 152 | + 'craftTwigMs' => (int) $stats['twig']['duration'], |
|
| 153 | + 'craftTwigCnt' => (int) $stats['twig']['count'], |
|
| 154 | + 'craftOtherMs' => (int) $stats['other']['duration'], |
|
| 155 | + 'craftOtherCnt' => (int) $stats['other']['count'], |
|
| 156 | + 'craftTotalMemory' => (int) ($stats['database']['memory'] |
|
| 157 | 157 | + $stats['twig']['memory'] |
| 158 | 158 | + $stats['other']['memory']), |
| 159 | 159 | ]); |