Difference between revisions of "Shell Commands/Time"
From MorphOS Library
| (2 intermediate revisions by one other user not shown) | |||
| Line 1: | Line 1: | ||
'''Time''' - Measures the time it takes to execute a command | '''Time''' - Measures the time it takes to execute a command | ||
| − | CALIBRATE/S,EXCLUDELOADING/S,COMMAND/A/F | + | CALIBRATE/S,EXCLUDELOADING/S,COMMAND/A/F |
| − | + | <nowiki> | |
| − | + | CALIBRATE - Runs 10 times to calculate overhead. Depending on the mode | |
| − | + | this is used to remove the overhead from the equation. | |
| − | + | EXCLUDELOADING - Tests the pure command speed without loading times to avoid | |
| − | + | disk caches affecting the results. | |
| + | COMMAND - A command line to test.</nowiki> | ||
| − | Time Elapsed: 0.0071s | + | |
| + | Example: | ||
| + | System:> time dir ram: | ||
| + | ENV (dir) | ||
| + | T (dir) | ||
| + | Clipboards (dir) | ||
| + | |||
| + | Time Elapsed: 0.0071s | ||
Latest revision as of 13:48, 29 June 2026
Time - Measures the time it takes to execute a command
CALIBRATE/S,EXCLUDELOADING/S,COMMAND/A/F
CALIBRATE - Runs 10 times to calculate overhead. Depending on the mode
this is used to remove the overhead from the equation.
EXCLUDELOADING - Tests the pure command speed without loading times to avoid
disk caches affecting the results.
COMMAND - A command line to test.
Example:
System:> time dir ram:
ENV (dir)
T (dir)
Clipboards (dir)
Time Elapsed: 0.0071s