综述 网络速率测量方法
My Boss keep complaining about the speed of VMs but that was just his feeling, no any clear clue or quantitative figures. Therefore I did some research on the Internet and found this powershell command to measure the speed of Server/PC. Its method is just measuring the time to complete a specific task. Here we are:
我的老板一直抱怨虚拟机的速度,但这只是他的感觉,没有任何明确的线索或定量数据。 因此,我在Internet上进行了一些研究,发现此powershell命令可以测量Server / PC的速度。 它的方法只是测量完成特定任务的时间。 我们来了:
Measure-Command { for($i=1; $i -le 10; $i++) {echo "Hello"} }
or you can filter the result with "find" parameter:
或者您可以使用“查找”参数过滤结果:
Measure-Command { for($i=1; $i -le 10; $i++) {echo "Hello"} } | find "TotalMilliseconds :"