The tag has no wiki summary.

learn more… | top users | synonyms

3
votes
1answer
134 views

Can profiling be used to verify if optimization was successful?

I know that profiling is useful to identify bottlenecks and determining what parts of the code require how much time to execute. The latter isn't always very easy to track in the midst of other paths ...
3
votes
1answer
120 views

How to profile a Perl + FastCGi + StarRunner web program?

I've written an extension to RequestTracker for a client, but he says the performance isn't good enough. I'd like to do some profiling, but I'm not sure how to connect up a profiler (say NYTProf, for ...
3
votes
1answer
260 views

How can I profile database queries from PHP?

CodeIgniter has a very nice feature called a Profiler, which displays information at the foot of a page, information such as GET, Memory, POST data. It also shows database queries and how long they ...
1
vote
1answer
93 views

Good example of gprof, for iOS project

The GNU profiler gprof, can be used to profile any application right on the device, allowing real world profiling. As Xcode 4.5 based on LLVM plus it has GNU Debugger, Profiler, and others. I need ...
5
votes
1answer
245 views

Conditional attribute in XML - most concise solution?

I am tasked with setting up conditional profiling - a method of tagging chunks of XML with an attribute, which will then be used as a conditional value to extract subset of that XML. Have a look at ...
4
votes
6answers
243 views

Information about how much time in spent in a function, based on the input of this function

Is there a (quantitative) tool to measure performance of functions based on its input? So far, the tools I used to measure performance of my code, tells me how much time I spent in functions (like ...
3
votes
3answers
221 views

Interpreting profiling results

I am practicing algorithm and data structures. Therefore, I keep profiling my programs. Here is an example output from gprof: Each sample counts as 0.01 seconds. % cumulative self ...
5
votes
1answer
130 views

Use of a profiler tool to aid in the analysis of a brute force algorithm in Java

I was asked to profile (using some tool, such as YourKit or JVisualVM) a couple of implementations of the Traveling Salesman Problem (find the minimum path that visits all the given set of cities), in ...
2
votes
1answer
277 views

VisualVM Sampling & Accuracy

It's been said in other questions that jvisualvm sampling works as a "lightweight" profiling tool by calculating metrics directly from Java stack frames. Its almost unanimously agreed that such a ...
1
vote
1answer
147 views

Common diagnostics which VisualVM is used for

There's a lot of documentation out there on how to use the 'jvisualvm' profiler, but very little (if any) real-life advice on how to analyze all those charts and dumps. I'm just a little overwhelmed ...
5
votes
6answers
645 views

How should I react to diminishing application performance?

Sometimes it comes to me that the biggest challenge for an engineer when he find his application getting worse in performance is lack of enough information. Imagine that you go through the weekly ...
5
votes
6answers
216 views

Is there any value in knowing the execution time for a unit test?

Is the execution time of a unit test useful for anything? Is a unit test an appropriate place for any sort of code profiling? Why or why not? Sample Use Case: Every unit test lists name, pass/fail, ...
7
votes
4answers
1k views

Recommended .Net profiler [closed]

I have an application that I am trying to squeeze every last drop of performance out of, So I am looking for a profiler that can give me some sort of info on where my bottlenecks are. I have seen a ...
2
votes
3answers
171 views

What is a good general purpose profiler that works on any program?

I deal with a plethora of languages daily and I can't afford to learn the profiler tools specific to each language. I would like suggestions on a general purpose profiler, anything that would offer a ...
3
votes
1answer
535 views

What is a good GUI profiler for Java?

Is there any free (FOSS) graphical profiler similar to YourKit available for the Java VM? What do you use to profile your Java applications?
2
votes
2answers
318 views

Why profile applications using AOP?

When tuning performance in a web application, I am looking for good and light-weight performance profiling tools to measure the execution time for each method. I know that the easiest profiling method ...
5
votes
4answers
313 views

Does profiling without benchmarking lead to micro-optimization?

Read first: For a definition of the two terms ("profiling" and "benchmarking") and the need for distinguishing them, please read this answer to a previous question. I have to admit that until I saw ...
19
votes
10answers
576 views

Is it always wrong to optimize before profiling?

I see the mantra of "profiling before optimization" repeated again and again here, on SO, and elsewhere. Although I certainly use profiling tools, I'm only occasionally surprised by the results. It ...
8
votes
10answers
308 views

Where do you optimize?

There are two areas to possibly optimize for speed in: Where the most time is spent The code that is called the most Which is the best place to start optimizing? Often code that is called the ...
3
votes
2answers
752 views

Determining Cost of API Calls

[This is a cross-post originally posted by me in SO. I think the question is more appropriate here.] I was going through the adwords API and came across their rate sheet - ...
6
votes
2answers
138 views

When profiling a function for time use, what information is desirable?

I'm writing a program similar to Python's timeit module. The idea is to time a function by executing it anywhere from 10 to 100,000 times depending on how long it takes and then report results. I've ...
5
votes
4answers
446 views

Debugging, performance tracing, profiling, tools, etc. - suite?

My client is looking to standardize on its "helper" tools suite of applications to aid developers of a very large .NET project in debugging, profiling, finding memory leaks and performance ...
0
votes
3answers
952 views

Anyone know a decent JVM profiling tool for IBM JVM on AIX?

I am tired using hprof and some lame tools that are available in AIX for JVM profiling. None of the tools like Netbeans Profiler and visualvm works on JVM on AIX. It will be great if anyone knows a ...
8
votes
8answers
1k views

Favorite C++ tools for profiling, detecting mem leaks etc

As C++ devs, what tools outside your IDE do you use to optimize and detect potential problems with your code? Also, what are their main strengths, i.e. why did you choose them over other tools ?