hello frnds!!
i want to know which things in programming slows the running process of program.....
i want that my program should run in minimum time.....

Recommended Answers

All 2 Replies

This is not a question that can be answered in a simple post. There are many things that can slow a program down.

One tool that can help you find places where the code is executing is a profiler. There are many available, use google to find some. The java command has an option that will write out profiling data for a program.

also, that is not only influenced by your code. you may have written perfect code, yet run it while you are also running tons of other applications which cause serious peaks in your cpu and ram usage, or if you decide to run it on an older system, ...

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.