I'm working on a CPU-bound VB6 application, and I was wondering if there are any performance tools for VB6 along the lines of Performance and Coverage Analyser? Does anyone know of any?
VB Watch Profiler is supposed to do these things. I haven't used it myself.
Related
I have an OpenGL application, which is running very well. But when i create a menu and make it visible to the scene, the startup of the application turns very slow. I would like to run a performance analysis to that function, to check where is Visual Studio spending that much time. Is it possible to get that kind of deep details into performance?
Thanks in advanced,
John
I would recommend using the ANTS Performance Profiler 8 - I know it can zero in to the function/line to show you where the bottleneck is. They do provide a free trial and it is easy to use.
Hi I am student programmer using Qt to build some editing applications for work and I'm hitting an issue in my debugging practices that I am not sure how to approach. I have QTableWidget that takes at least 10 secs to fill when 100+ rows are brought in.
I am wondering if Qt's debugger has any tools to help pinpoint where the operation is taking the most of its time at. I have looked over the operation several times and everything looks right and efficient so I am left pretty lost. I have looked over the debugging and analyzing sections of the debugger and didn't see anything that looked helpful as I'm pretty sure my symptoms aren't that of a memory leak. Thanks for reading my post and thanks in advance for any help in this issue.
If you are having performance issues and want to see where in your application time is spent you need to do some Profiling. Depending on your platform and chosen IDE the tools differ and you should look into what is most commonly used.
For Linux there are few tools to pick from. One I found quite helpful is the Valgrind tool Callgrind, there is a quite nice visualizer for it called KCachegrind that should be available in your distributions repository.
Since you are using Qt there is a real possibility that you also use Qt Creator then I found something on the integration of Valgrind in Qt Creator.
I have written a sequential code of the algorithm. I am going to parallelize it, but I have to determine which parts of the sequential code are worth to be parallelized. How I can find these parts? Are there any tools to do it?
You can use a profiler such as VisualVM or JProfiler (paid) to figure out which parts of the code are consuming most of the CPU time.
Although you did not specify your programming language or IDE, I will shoot a guess.
Intel Parallel Studio has great tools on this topic. Also Visual Studio IDE has different profiling tools. If you dont want to use any tools..You can profile your functions manually by using QueryPerformance functions for C/C++.
Is there a plugin available for Visual Studio .Net that gives a visual representation of the CallStack while debugging (instead of the stacked representation of method calls that is in-built in it)? (I am imagining something similar to an execution path we have in SQL server) This, imho, would help in visualizing the logic flow of the program.
Microsoft's CLR Profiler might help you.
There are other code profilers that might have what you are looking for. The ones I know of are commercial ($) products. Jetbrains and numega are two examples.
Frankly, I am at a loss to figure out why during execution/at a debug break you are not getting useful information from the call stack.
Note that you can get stack information from the CLR very easily. I suspect there are some free/open source projects out there that have what you want. I'll try to look around
I have a big application written in Visual Basic 6 and I need to profile it.
Is there something like ANTS Profiler but for COM applications?
I used to use VBWatch. I had a good experience with it and it helped me nail down and resolve some pesky performance problems
Have a look at VTune from Intel it has native profiling as well.
If you're having problems using VTune try AQTime profiler from AutomatedQA instead.
GlowCode is another good tool. I've used it successfully with VB6. The nice part is that you don't need to instrument or recompile your code. All you need is the symbols (.pdb file) that VB6 can already create for you.
Better late than never? VB6 has a "pause" button, right? Not only is it free, and requires no installation, but in my opinion it is by far the best tool for locating performance problems.
AutomatedQA
That's your best bet.