I want to determine which program is better and fast in term memory and time used. I faced a problem where I need to declare a variable I have two aproaches
- use static variable
- use default variable
I want to test which program is faster and consumes less time and memory.
It may be possible that the difference is very small but still I would like to know which is fast program.
Is their anyway using which, I can measure a performance of a simple and complex program.