profiling

iphone os application usage profiling

hello, does anybody know if it's possible to gather application usage information from your iphone...like for example, application with id: xxxx opend at xxxx hours and closed at xxxx hours... thanks! ...

How to debug differences in postgresql TRUNCATE times?

postgres 8.3 / Ubuntu Karmic / 32-bit (in virtualbox): duration: 76.534 ms statement: truncate audit.users cascade duration: 0.952 ms statement: delete from audit.users postgres 8.4 / Ubuntu lucid / 64-bit (native, on the machine hosting the karmic virtualbox): duration: 1469.271 ms statement: truncate audit.users cascade ...

Profiling embedded application

I have an application that runs on an embedded processor (ARM), and I'd like to profile the application to get an idea of where it's using system resources, like CPU, memory, IO, etc. The application is running on top of Linux, so I'm assuming there's a number of profiling applications available. Does anyone have any suggestions? Than...

Profiler that logs arguments of dll

Is there a profiler(or similar program) that will log the function calls and arguments sent to a dll. By arguments I mean the data sent to the function; not the data type of the argument. For example say I have dll int myAdd(int a, int b) return( a+b ) main int a = myAdd(1, 2) int b = myAdd(3,4) int c = myAdd(5,6) I'd ...

Oprofile get no samples

Hi, I have installed Oprofile 0.9.5/0.9.6 in my server, but it get no samples at all. The log of oprofile is: -- OProfile Statistics -- Nr. sample dumps: 288 Nr. non-backtrace samples: 0 Nr. kernel samples: 0 Nr. lost samples (no kernel/user): 0 Nr. lost kernel samples: 0 Nr. incomplete code structs: 0 Nr. samples lost due to sample fi...

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...

What are the ways to improve ASP.NET website's performance?

HI all, I would like to know what are the best practices to improve the performance of the asp.net website? Is there any tool to do the profiling? I am aware that Ant Profiler can be used, but its not free downloadable. I am using CDN, caching etc. ...

How to turn off flash protection against long executing scripts?

I am profiling some AS code by measuring wall clock time. In order to minimize the error I need to run the code for a long period of time. However, flash seems to protect itself from unresponsive scripts by throwing an exception after some period of unresponsiveness, namely: Error #1502: A script has executed for longer than the default ...

Firefox toolbar execution time and memory profiling

Hi All, So, I am working on creating a toolbar for firefox. It currently sucks as far as memory usage/execution time of the JS code I have written. I can say that since every so often firefox complains - "A script in mycode.js is taking more time than expected. Do you want to stop the script". I need to see which function is it thats do...

ruby fast reading from std

What is the fastest way to read from STDIN a number of 1000000 characters (integers), and split it into an array of one character integers (not strings) ? 123456 > [1,2,3,4,5,6] ...

recommendation for a good JSF profiler

Any recommendations for a good JSF profiler? I am using Tomcat 6 JSF2, Hibernate & Spring ...

Rails 3.0.0.rc profiling: Thousands of Regexp#===(d1) calls

I was getting 0.5 reqs/s on the front page of my rails app (a very simple, mostly static page that made a couple of database calls, but nothing that WEBrick said took longer than 0.8 ms), served with thin. I added ruby-prof profiling tools to my ApplicationController via the instructions at Dan Mange's blog and dumped the call graph to s...

profiling in solaris

Can anyone suggest a good tool to profile a program compiled with SunCC compiler. Also please suggest a good equivalent of valgrind for the same. ...

Minimize the number of cross-core context switches

I was experimenting a lot with application profiling lately (using Visual Studio Performance Wizard). While working with Concurrency indicators, I've noticed the fact that when the application runs with multiple threads (both background and foreground) the cross-core context switch rate is quite high. Knowing that generally a large numb...

Is there a call tree view available for jvisualvm or NetBeans profiler?

JProfiler offers a live call-tree view so you can see what's using CPU in real-time and drill down for the details. Reset the counts to zero at any time, rinse, repeat. I'm currently without that tool, and trying to get by with free/open alternatives. jvisualvm and the NetBeans profiler have a static snapshot call-tree and a live flat v...

What is the lowest impact method for profiling SQL Server for a specific client?

My local friendly DBA does not like the idea of allowing profiling on the SQL servers (even non-production ones) due to the impact on performance they have. Ironically, I'm trying to reduce the need for a whole bunch of SQL queries, and would like to be able to check in a fairly non-invasive manner what queries are being sent over the w...

How do you profile a .net application taking into account the effect of the CPU cache?

All the .net profilers I know don’t take into the account the effect of the CPU cache. Given that reading a field from the CPU cache can be 100 faster than reading it from main memory, it can be a big factor. (I just had to explain this in an answer) I have seen too many people spend a long timer speeding up loops that a profiler sa...

How can I use NYTProf in a library

I'm wondering if Devel::NYTProf can be used as a library in another library. I'd like to do something like the following around 'somesub' => sub { my $orig = shift; my $self = shift; start-timing; $self->$orig(@_); end-timing; print '$time'; } but from it's documentation I'm unable to determine if it can be use...

Tutorials for Visual Studio 2010 Ultimate Profiler?

Hi! From what I've seen on this site, most of the people believe that first step when optimizing a program is to profile it so I decided to learn how to do that in VS2010. So are there any tutorials on Internet or books which explain what is what in profiler? ...

Is there a visual profiler for Python?

I use cProfile now but I find it tedious to write pstats code just to query the statistics data. I'm looking for a visual tool that shows me what my Python code is doing in terms of CPU time and memory allocation. Some examples from the Java world are visualvm and JProfiler. Does something like this exist? Is there an IDE that does t...