profiling

How to profile SQL queries in MVC framework?

Hello All, I have been working on my own php MVC framework. I just wanted to get your ideas on how to profile all the queries run on my framework. I have done other profiling stuff but i have no clear idea of how to profile the sql queries too for the users to see if they turn profiling on. Thanks ...

profiling a web start application

There are a lot of java profilers out there, any recommendations as to what would be best for profiling a java web start application that is being deployed to glassfish inside a war? ...

Code-Profiling non-standard languages (like VBS2 script)

Hello, I'm finishing up a VBS2-powered game and am about to begin optimizing the code and improve performance. I can't seem to find any code profiling tools that can analyze the proprietary VBS2 scripting language. Does anyone have any suggestions for tools I can use to analyze the performance of these scripts, or the processes/threads...

Total method time in Java VisualVM

In Java VisualVM, is there any way to display total method time, rather than "self time"? (The latter is not particularly useful, since it doesn't tell you anything about how much time methods actually take to run.) If not, is there any standalone free Java profiler that does calculate total method time? ...

Prevent too much information from being revealed during profiling of application that uses my .net assembly

Hello, I have created a .Net assembly and when running an application that uses my assembly through a profiler like jetbrains dottrace, a lot of information is being revealed about my assembly (private methods etc..) (no source code though). Is there anyway to prevent that ? ...

Using cProfile results with KCacheGrind

I'm using cProfile to profile my Python program. Based upon this talk I was under the impression that KCacheGrind could parse and display the output from cProfile. However, when I go to import the file, KCacheGrind just displays an 'Unknown File Format' error in the status bar and sits there displaying nothing. Is there something speci...

is there a profiling gem/plugin for Ruby on Rails?

Hi, is there a profiling gem/plugin for Ruby on Rails? That is, where I can then specify the point in a request I want to act as milestones points for a time to be taken, and place them stategically. Then ideally the plugin then works out and displays how the overall response time was made up... Tks ...

Rack Bug Installation issue. Server does not start

I just installed the Rack-Bug and created the middleware file that it needs in the config folder. But I am unable to start my server. Im using Rails 2.3.4 with Ruby 1.8.7. /usr/lib/ruby/gems/1.8/gems/activesupport-2.3.4/lib/active_support/dependencies.rb:443:in `load_missing_constant': uninitialized constant IPAddr (NameError) fro...

Automated profiling of unit tests from TeamCity?

Is there any way to do automated profiling of unit tests when we run them via TeamCity? The reason I'm asking is that while we should, and most of the time do, have focus on not creating performance-wise bad code, sometimes code slips through that seems to be OK, and indeed works correctly, but the routine is used multiple places and in...

SQL Azure Profiling

I read on the MS site that SQL Azure does not support SQL Profiler. What are people using to profile queries running on this platform? ...

Optimize color manipulation on XNA

I am profiling my simple 2D XNA game. I found that 4% of entire running time is taken by simple operarion of adding together two Colors , one of them multiplied first by float. I need to call this method rogulthy 2000 times per frame (for each tile on map), which gave me 120000 times per second for XNA's 60 fps. Even minimal boosting of...

Is VTune Worth Considering for Delphi?

Running through all the questions on profiling tools, I was surprised to discover VTune by Intel that I hadn't heard of before. At $700, it is even more expensive than AQTime. But before I make the decision to put down the big bucks for AQTime, has anyone used VTune for Delphi, and if so, do you think it has any benefits that may make ...

Profiling real time = 45 secs, but thread time = 0.387 secs what could cause this discrepancy?

So, our hosting provider recently moved our test server from one environment to another, virtualized environment. After the move some things on the test environment got extremely slow. For example logging in to remote desktop was slow, not using remote desktop, just logging in. Also some asp.net applications that usually runs like the w...

Is there a simple way of obtaining all object instances of a specific class in Java

Currently I am working on a Java agent to assemble memory stats. With the help of the instrumentation API I can get a hold of the classes (and manipulate them). With plain Java I can get an estimate of the resources used for each object. So far, so good. The question I am faced with right now is "how to get a hold of every Object instan...

OpenGL Video Memory Usage

Hello, is there an API or profiler application that can track the video memory usage of my application? I am using C++/OpenGL on Windows, but I am open to suggestions on other platforms as well. ...

How to measure lock contention?

I'm reading http://lse.sourceforge.net/locking/dcache/dcache%5Flock.html, in which spinlock time for each functions is measured: SPINLOCKS HOLD WAIT UTIL CON MEAN( MAX ) MEAN( MAX )(% CPU) TOTAL NOWAIT SPIN RJECT NAME 5.3% 16.5% 0.6us(2787us) 5.0us(3094us)(0.89%) 15069563 83.5% 16.5% 0% dcache_...

C++ while profiling found performance problem in ntdll - how to get rid of it?

Hi! I'm working on a little rigidbody simulation. I use the Irrlicht engine for display and openMesh to work with the meshes. Now I profiled my app using VerySleepy and noticed that most of the time is spent within the following functions (exclusive the time spent in subfunctions): RtlCompareMemoryUlong 30% within module "ntdll" sou...

Good c++ profiler for GCC

I tried to find a related question but all previous questions are about profilers for native c++ in windows. I googled a while and learned about gprof, but the output of gprof actually contained lot of obscure internal functions. Is there a good opensource c++ profiler with good documentation? ...

What is the best way to profile a view in Django?

I have developed an application using Django and everything is working fine but I don't know what's going on behind the scenes. I would like to know: How many times the database is being hit for each request? What was the execution time for each query? How long it took to render the template? Regular profiling info (ncalls, tottime per...

Flex Profiling (Flex Builder): comparing two results

Hi Friends, I am trying to use Flex Profiler to improve the application performance (loading time, etc). I have seen the profiler results for the current desgn. I want to compare these results with a new design for the same set of data. Is there some direct way to do it? I don't know any way to save the current profiling results in histo...