Minor Change

This commit is contained in:
Netkas 2023-02-20 21:52:53 -05:00
parent 798c46add9
commit 47da4c8df7

View file

@ -8,7 +8,7 @@
import('net.nosial.tamerlib', 'latest');
Tamer::init(ProtocolType::RabbitMQ,
Tamer::init(ProtocolType::Gearman,
['127.0.0.1:4730']
//['127.0.0.1:5672'], 'guest', 'guest'
);
@ -68,4 +68,4 @@
echo "Average time: " . (array_sum($times) / count($times)) . " seconds \n";
echo "Took (with tamer)" . ($b - $a) . " seconds \n";
echo "Total time (without tamer): " . (array_sum($times)) . " seconds \n";
echo "Tamer overhead: " . (($b - $a) - array_sum($times)) . " seconds \n";
echo "Tamer overhead: " . (($b - $a) - array_sum($times)) . " seconds \n";