Tunnel speed increase

effect:

  

Code:

$Command_1={1..1500|ForEach-Object {"Line: $_" }}
$Command_2={1..1500|&{process{"Line: $_"}}}

$Command_1,$Command_2|ForEach-Object{(Measure-Command $_).TotalMilliseconds}

 

Guess you like

Origin www.cnblogs.com/feiyucha/p/11256768.html