Answer the question
In order to leave comments, you need to log in
How to test CPU load, Memory, runtime when running a program in Python?
There is a python file. This is a movie filtering software. You need to test this program.
The values to be found are:
1) CPU load %
2) Memory
3) Execution time The execution
time of a program can be found in this way:
import time
start_time = time.time()
print("--- %s seconds ---" % (time.time() - start_time))
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question