mirror of
https://github.com/Combodo/iTop.git
synced 2026-04-24 11:08:45 +02:00
⚡ Add Echoing for all pages KPI
This commit is contained in:
@@ -92,7 +92,10 @@ class JsonPage extends WebPage
|
||||
'scripts' => $aScripts,
|
||||
];
|
||||
|
||||
echo json_encode($aJson);
|
||||
$oKpi = new ExecutionKPI();
|
||||
$sJSON = json_encode($aJson);
|
||||
echo $sJSON;
|
||||
$oKpi->ComputeAndReport('Echoing ('.round(strlen($sJSON) / 1024).' Kb)');
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user