Your question is vague, but you can benchmark them yourself:
$start = microtime(true);
// code you want to benchmark here
$diff = microtime(true) - $start;
echo "Code execution lasted $diff seconds";
solved What things can make a php script slow? [closed]