I have upgraded the project on php7.3 from phalcon 3 to phalcon 4. One thing i have notice, is that the load from the server have increased alot...
one big change i saw was in Phalcon/Crypt
Example: phalcon3
$start = microtime(true);
$crypt = Phalcon\Di::getDefault()->getCrypt();
$name = $crypt->encryptBase64('teste name');
for ($i = 0; $i < 1000000; $i++) {
$crypt->decryptBase64($name);
}
echo microtime(true) - $start;
2,6897709369659
with phalcon 4 (same code)
26,91615819931
Is this normal behavior? any advice?
Thank you