You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm writing a simple 2FA and when I pass the Uri to be printed as .svg file I averaged 1.76 seconds to save it to disk. I'm wondering if this is normal or if there is something I could do, this is how I timed it:
$renderer = new ImageRenderer(
new RendererStyle(300),
new SvgImageBackEnd()
);
$writer = new Writer($renderer);
$start_time = microtime(TRUE);
$writer->writeFile($uri, 'qrcode.svg');
$end_time = microtime(TRUE);
echo $end_time - $start_time;
The text was updated successfully, but these errors were encountered:
I'm writing a simple 2FA and when I pass the Uri to be printed as .svg file I averaged 1.76 seconds to save it to disk. I'm wondering if this is normal or if there is something I could do, this is how I timed it:
The text was updated successfully, but these errors were encountered: