Tek işlem var nasıl ölçtün hocam, yukarıdaki 500 parametre ile tek çalışıyor aynı kod nodejs de 30 Ms hızında php de 950 ms 1200 ms falan ortalama
Çok kompleks bir olay yok basit bir şekilde bu şekilde kullanım sağlamıyor musunuz?
for ($i = 0; $i < 9; $i++)
{
$bas = microtime(1);
$userId = "";
$hashRing = new HashRing($keyword);
$table = $hashRing->getNode(rand(0, 500));
echo sprintf('%d. işlem süresi => %s <br>', $i + 1, number_format((microtime(1) - $bas), 25, ".", ""));
}