profiler

native functions overweight in xdebug profiler output

hi i have a problem with xdebug on a FreeBSD server. on that server xdebug profiler's cachegrind files say that executing time of native functions (such as DOMDocument::load() or XSLTStylesheet::importStylesheet) is about 50% of total script execution time. and with profiler turned off those functions work for less than 0.1% on my own ...

How should I profile visual c++ express?

I've read a lot of the posts here giving profiling advice but I need to ask this. From what I can tell, visual c++ express doesn't generate a debugging file that is used by profiler programs. I tried AMD Codeanalyst and it seemed to work fine except none of the routines in my program were identified. -just a lot of "unidentified mod...

Is it possible using the VS2010 profiler to sample a thread other than the Main Thread in C#

Hi, I'm trying to profile an app in c#, never done any kind of profiling before. I haven't been able to find much documentation on the profiler so far maybe someone here might know better. I have an app that when I click a toolbar button, kicks off a background thread to fetch me some data. The data is then prepared and displayed on th...

set up speed tracer with ubuntu 9

Hi there, I am having a small issue in setting up speed tracer with ubuntu. any help (document/hints...) will be appreciated. ...

Are there any tools for tracking down bloat in C++?

A carelessly written template here, some excessive inlining there - it's all too easy to write bloated code in C++. In principle, refactoring to reduce that bloat isn't too hard. The problem is tracing the worst offending templates and inlines - tracing those items that are causing real bloat in real programs. With that in mind, and bec...

Python profiler usage with objects

Hi, I have a specific question regarding the usage of profiler. I am new to python programming I am trying to profile a function which I want to invoke as a class method, something like this import profile class Class: def doSomething(): do here .. def callMethod(): self.doSomething() instead of this I want ...

Profiling an app in vs2010 fails with an error Message

In visual studio 2010, I tried to profile a new winforms app (a fresh app with zero code added by me). But the profiling (.Net Memory Allocation (Sampling)) but it fails with the following mesaage. This is what the output window spits out after this error message Profiling started. Profiling process ID 3332 (WindowsFormsApplicatio...

Loading saved objects from disk is slow in Matlab

I have created a monster, or at least a lot of MATLAB handle classes that point to each other. For instance, an experiment (handle) is a set of tracks (handles) which contain runs (handle) and reorientations (handle). Then the tracks point pack to the experiment that contains them, the runs and reorientations point back to the track th...

VC6 Profiler Problem: Spurious Function Calls

I am running into the following issue while profiling an application under VC6. When I profile the application, the profiler is indicating that a simple getter method similar to the following is being called many hundreds of thousands of times: int SomeClass::getId() const { return m_iId; }; The problem is, this method is not calle...

can somebody recommend a free tool for doing java time profiling

Possible Duplicate: Please recommend a Java profiler I am trying to track down the methods that are time-consuming in our java code base, and would appreciate it if someone can recommend a free tool for doing java time profiling. Thanks. ...

How do I set Environmental variable for my application while profiling it under visual studio 2008

I have an application. I compile it using vs2008 team system. To run this app some certain environmental variables need to be set, such as SYSTEM_MODULE_PATH. My app loads system modules from there. Without this variable it wont run. So When I profile it, I want to set this variable so that my application runs properly. Now my question...

F# interactive and performance profilers

F# Interactive (and in general REPL-style tools) is an ideal entrance to performance profiling. What could be easier than to select a code block and send it right to a profiler that would come back with performance analysis report. Unfortunately it looks like existing profilers don't have REPL support: you have to either attach a profile...

How to use Time Profiler Instrument with iPhone Device

Hey all, I'm trying to get Time Profiler to play nice with me. I am able to set it up with my iPhone and capture data. However, Instruments doesn't really show much information about where the virtual bottlenecks exist in my code. If I click on the memory addresses to show more detail Instruments tells me that they're unavailable. How ...

Time Profiler: Optimizing UIImageView alloc/init calls

Time Profiler says that statements like these are slowing my app down. Is there a better way to write this so that my app runs faster? background = [[UIImageView alloc] initWithImage:[UIImage imageNamed:@"myfolder.png"] highlightedImage:[UIImage imageNamed:@"myfolderOFF.png"]]; Thanks ...

Ants Profiler: How to optimize time spend in "Assembly load or unload"

Hi; I am using Ants Profiler to profile my ASP.Net application. The profiler shows the system spend nearly 30% time in "Assembly load or unload" and there was a hit count of 65. Any ideas on how can I optimize the "Assembly load or unload" time?? My ASP.Net application consists of nearly 10 project\dll references. The asp.net applicati...

Is there a profiler for C (gcc) to profile code lines separately?

Hi there, I come from a Matlab background so I am used to a profiler which profiles every single line and not just every function like gprof or callgrind. Is there a profiler for C with a similar feature? Thanks! ...

My control is awfully slow. Anybody know an EASY-to-USE, FREE profiler for c# development?

Possible Duplicate: Any Good Free .NET Profiler? I am currently developping a control that is supposed to draw a heatmap in realtime at about 20Hz. This consumes an awful lot of CPU resources and I would like to know which function calls are slowing it down that much, sine I got the impression that I am already using a fairly ...

Can i monitor performance of particular table in sql server 2008 profiler

I want to monitor all the DML commands that run on a particular table of my database in sql server profiler. Im using sql server 2008 R2 ...

profile java memory use on linux

i have a socket server written in java, and i believe there is a memory leak. The i could not find anything in Netbeans' profiler, so i want to test it when it in deployed on my ubuntu server. How do i do this? What is an easy to install and use java profiler for ubuntu? ...

Javascript profiler shows each() spending a lot of time, but how to find where it is?

IE 8 and Firebug's Javascript profiler both showed that jQuery each() spent a lot of time, but since the each() is not inside a function, there is no way to tell which line it is, and there are lots of these each() in the global scope of the source code. On Firebug, it can show you the file and line number, but it will take you to jQuer...