Linux/Unix "time" Command
Time is a simple but very useful command to measure execution time. It can be used for quickly benchmarking scripts and other programs. It provides three pieces of information, real is the actual time the program runs from start to end. User and Sys are time it took the cpu to run the code in user and system mode respectively.
Example
Time is a simple but very useful command to measure execution time. It can be used for quickly benchmarking scripts and other programs. It provides three pieces of information, real is the actual time the program runs from start to end. User and Sys are time it took the cpu to run the code in user and system mode respectively.
Example
time php test.php