From 54ac535a49bfc5b48de8fcff1ddb7227e51d134c Mon Sep 17 00:00:00 2001 From: Aldarien Date: Thu, 19 Oct 2023 22:01:00 -0300 Subject: [PATCH] Remove benchmark --- app/src/Controller/API/Ventas/Cuotas.php | 6 ------ 1 file changed, 6 deletions(-) diff --git a/app/src/Controller/API/Ventas/Cuotas.php b/app/src/Controller/API/Ventas/Cuotas.php index 32e8da5..9e4bd87 100644 --- a/app/src/Controller/API/Ventas/Cuotas.php +++ b/app/src/Controller/API/Ventas/Cuotas.php @@ -58,11 +58,7 @@ class Cuotas } catch (EmptyRedis) { $output = []; try { - $benchmark = [ - 'start' => microtime(true) - ]; $cuotas = $cuotaRepository->fetchDatosPorVencer(); - $benchmark['cuotas'] = microtime(true) - $benchmark['start']; foreach ($cuotas as $row) { $fecha = $row['Fecha']; $date = new DateTimeImmutable($fecha); @@ -86,8 +82,6 @@ class Cuotas }); $output[$key] = $day; } - $benchmark['run'] = microtime(true) - $benchmark['start']; - error_log(var_export($benchmark,true)); $this->saveRedis($redisService, $redisKey, $output); } catch (EmptyResult) {} }