In order to test the performance impact of DKIM signing I wrote a little test script:
PHP:
Read more
Читать далее...
PHP:
Код:
$dir = __DIR__;
require($dir . '/src/XF.php');
XF::start($dir);
$app = \XF::setupApp('XF\Pub\App');
$options = $app->options();
$mailer = $app->mailer();
$transport = $mailer->getDefaultTransport();
$start = microtime(true);
for ($i = 0; $i < 200; $i++)
{
$mail = $mailer->newMail();
$mail->setTo('webmaster@local.host');
$mail->setContent(...
Read more
Читать далее...