profiling

What is the CORE:match (opcode) subroutine in Perl profiling?

I previously wrote some utilities in Perl, and I am now rewriting them in order to give some new/better features. However, things seem to be going much more slowly than in the original utilities, so I decided to run one with the NYTProf profiler. Great profiler btw, still trying to figure out all its useful features. So anyway, it turns...

Time profiler in Instruments

I am having trouble launching Time Profiler in Xcode, both for Mac Applications and iPhone apps. The steps I have tried are opening Time Profiler, Clicking the choose target drop down box, selecting my iPhone or Mac book. Choose target -> myApp. If I choose a Mac app then I hit the record button a big yellow warning pops up accross the ...

How to ignore program's output when using /usr/bin/time ?

I want to know how long a program running, so I tried "/usr/bin/time ./program > /dev/null". But soon I found it displays program's output to stderr. I tried "/usr/bin/time ./program > /dev/null 2>&1" then, but /usr/bin/time's output not appear. So my question is, how to ignore program's output, and keep time's output. Thanks a lot. ...

How am I supposed to interpret OProfile output?

I tried profiling my application with OProfile recently. The data gathered is already very valuable to me, but I'm having difficulties with its precise interpretation. After running my app with oprofile set up and running, I generated the report and got: root@se7xeon:src# opreport image:test -l -t 1 Overflow stats not available C...

SQL Server Profiling how should I go about it?

Hi all, So I have used SQL Profiler before and I know how I can view what my LINQ queries are doing behind the scenes. Now, we are in the process of identifying queries that may take more time and need to be optimized or have some indexing. So, now when I view my LINQ queries in the profiler running it side by side there is lot of oth...

visual studio performance tools, not instrumenting an assembly

I've got a solution which I am trying to profile with instrumentation. The resulting report seems to collect only up to a certain depth, and even though all of the projects have been added in the Targets section, it's not capturing the full stack in a given assembly. Is there a setting I'm missing or something? ...

Profile slow php pages in production

Is there a way of profiling only slow php pages on a production server? At the moment we're logging slow pages to a text file, but without more information it's hard to say why they're slow (not consistently slow). I've used XDEBUG profiler before, but I really don't want to enable this on our production servers as we are likely to get ...

How to tell in protobuf-net how many bytes were read from a NetworkStream on a call to DeserializeWithLengthPrefix

Is there a way to do this? I would like to know how many bytes were read from a NetworkStream when I call DeserializeWithLengthPrefix. Since NetworkStream does not support the Position property I cannot see a simple way to do this. Can this be done in a reasonably efficient way? I need to know this for profiling purposes, and it would be...

How to profile combined python and c code

I have an application that consists of multiple python scripts. Some of these scripts are calling C code. The application is now running much slower than it was, so I would like to profile it to see where the problem lies. Is there a tool, software package or just a way to profile such an application? A tool that will follow the python c...

Profile a delayed_job task in a Ruby on Rails app/Memory leak

Hi, One of my delayed_job tasks has a serious memory leak and I'm having a hard time solving it. Can anyone recommend a good tool for profile a delayed_job task in order to solve this memory leak? Regards, Rubem ...

How do you profile your web site/web application ?

This is to collect from the experience that the community has done information on the aspect of Profiling web Application. Some years ago I worked at a very large project in C++/Java with the a CORBA ORB and we were using Rational Purify/CodeCoverage to instrument, detect memory leaks and discover bottlenecks on server code. From that t...

good resources/books on profiling software

Hi, Can anyone suggest some good resources and/or books on profiling, importance of profiling, profiling techniques? thanks ...