I got an issue on laravel 5.1 in performance,
public static function test($keyword)
{
//fun1
$x = $bh -> getASearch($keyword);
$output['A'] = $bh -> gNOR($a, $nor);
//fun2
$y = $bh -> getBSearch($keyword);
$output['B'] = $bh -> gNOR($b, $nor);
//fun3
$z = $bh -> getCSearch($keyword);
$output['C'] = $bh -> gNOR($c, $nor);
}
I want to run this code for fun1, fun2 and fun3 in parallel in order to reduce the load time