Linux查看程序执行时间

time 命令

time php tcp_client_async.php

在这里插入图片描述
real 为总时间
user 程序本身消耗的时间
sys Linux系统完成此程序消耗的时间