Minor Change
This commit is contained in:
parent
798c46add9
commit
47da4c8df7
1 changed files with 2 additions and 2 deletions
|
@ -8,7 +8,7 @@
|
||||||
|
|
||||||
import('net.nosial.tamerlib', 'latest');
|
import('net.nosial.tamerlib', 'latest');
|
||||||
|
|
||||||
Tamer::init(ProtocolType::RabbitMQ,
|
Tamer::init(ProtocolType::Gearman,
|
||||||
['127.0.0.1:4730']
|
['127.0.0.1:4730']
|
||||||
//['127.0.0.1:5672'], 'guest', 'guest'
|
//['127.0.0.1:5672'], 'guest', 'guest'
|
||||||
);
|
);
|
||||||
|
@ -68,4 +68,4 @@
|
||||||
echo "Average time: " . (array_sum($times) / count($times)) . " seconds \n";
|
echo "Average time: " . (array_sum($times) / count($times)) . " seconds \n";
|
||||||
echo "Took (with tamer)" . ($b - $a) . " seconds \n";
|
echo "Took (with tamer)" . ($b - $a) . " seconds \n";
|
||||||
echo "Total time (without tamer): " . (array_sum($times)) . " 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";
|
||||||
|
|
Loading…
Add table
Reference in a new issue