Imagine that you write applications, options for some current version and you want to compare if it is more effective or No,
you just use And can compare performance time to examine some difference, but it is not very wide Is the same command to check more data? Is it? Such as memory usage, CPU usage, CPU peak, memory peak etc ... A good implementation This is a simple Python command for CPU usage, memory usage and many other statistics. Manap time as
time for your order timeout order
Time actually tells you much more than the clock in the wall, most Linux systems have one, but Bash is in the habit of obscuring it in favor of the built-in time, so you can call it
/ usr / bin / time Calling as :
$ / usr / bin / time python -c "numpy as np; np.empty (100000)" 0.12user 0.00system 0: 00.13 Ended 96% CP 0inputs of U (0avgtext + 0avgdata 12860maxresident) + 0outputs (0major + 3777minor) Pagefelt 0swaps
Time (1) See what
time can do.
No comments:
Post a Comment