Summary on memory usage etc

Hello I have been wondering if there are any good summaries on how much certain functions are variables strain the cpu/ memory etc..
what I mean is IT what will slow my program Down Moore n IF clause or i for loop oreille while loop and how many clases can behandelt within loop without significantly slowing down the program. I know that this is A very amateur way of describing what I want, but I don't really know much about these things.
Would be really glad for info
Thanks, sankarea
Determining what
certain functions are variables strain the cpu/ memory
requires figuring out what is taking the most time in a program. I have found a few StackOverflow answers and questions that you could read to help you be able to find the "strain" in any program.

Random Sampling Technique:
http://stackoverflow.com/questions/375913/what-can-i-use-to-profile-c-code-in-linux/378024#378024

Detailed explanation of applying Random Sampling Technique:
http://stackoverflow.com/questions/926266/performance-optimization-strategies-of-last-resort/927773#927773

Question about favorite profiling tool:
http://stackoverflow.com/questions/4141307/c-and-c-source-code-profiling-tools
Topic archived. No new replies allowed.