profiling

Metabase error when trying to use Visual Studios Profiler on an ASP.Net site

I'm trying to run the performance wizard on an ASP.Net website. However, whenever I try to start it I get the following error. "The website contains unexpected information or you do not have permission to access the metabase. You must be a member of the Administrators group on the local computer to access the IIS matabase. Therefore,...

Does F# do automatic memoisation?

I have this code: for i in 1 .. 10 do let (tree, interval) = time (fun () -> insert [12.; 6. + 1.0] exampletree 128.) printfn "insertion time: %A" interval.TotalMilliseconds () with the time function defined as let time f = let start = DateTime.Now let res = f () let finish = DateTime.Now (res, finish - st...

How to Profiler unit test in Visual Studio 2010?

Can I use VS 2010 Profiler to profile unit test (MSTest)? If yes, how? Thanks, Michael ...

Profiling iphone with shark: Nothing happens after pressing start

I have used shark in the past with Mac applications. I am now trying to set it up for the iPhone but it doesn't want to work. I have followed these instruction from another post: Build app and launch on device - Launch Shark - From the Shark menu, select Sampling->Network/iPhone Profiling - In the Shark window, select the radio button ...

Basic doubt in Oprofile

Hello, I am trying to profile my software (in Linux) with oprofile. My software consists of both userspace and kernel module. First my doubt is what does the --separate=kernel option do? What will be the difference when running without that option? I did try to see it but couldn't find any difference. Could you please post an example? C...

What is the fastest method for selecting descendant elements in jQuery?

As far is I know, there are a number of ways of selecting child elements in jQuery. //Store parent in a variable var $parent = $("#parent"); Method 1 (by using a scope) $(".child", $parent).show(); Method 2 (the find() method) $parent.find(".child").show(); Method 3 (For immediate children only) $parent.children(".child").sho...

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

Collecting information about thread scheduling on Linux

I want to collect information about when my threads are scheduled (and descheduled), and on which CPUs, on Linux. I'm happy to collect the information and store it in a file for offline analysis later, since I'll need to merge the scheduling information with other event sources generated by my code. Ideally the information would be col...

Is there a tool to profile sqlite queries?

I am using a SQLite database and would like to speed up my queries, perhaps with indexes or by restructuring them altogether. Is there a tool to profile queries, that might help me decide where things are slowing down? I know I could just enter queries into a tool like SQLite Administrator to time them, but I'm looking for something a ...

Import profile data into generic analysis and visualization tool

I have a mechanism for generating profile data of a couple of different types. Are there any tools that will import profile data from external sources and produce useful interactive visualizations? It seems like there are many profiling tools out there that all implement their own rendering engines, but there really isn't much difference...

Javascript: Mysterious lag on multiple runs of function.

The following function simply returns an of elements with the specified tagname in the document. For some reason on successive calls to the function the execution of it gets slower and slower.. I have tested it thoroughly and the for-loop line in the cause, but I don't understand why that would cause a slow down on successive calls. fun...

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

What tools can I use to determine the hardware requirements of my application?

For regular readers: The saga™ continues... My app runs fine on my development machine - which was purchased (5 years ago) as a fairly good gaming rig. As such, it's 64bit, has a 2.2GHz clock-speed and has 2GB of memory. The machines at work however, are standard Dell issue office computers and really struggle to even start my app, let...

Iteration of a randomized algorithm in fixed space and linear time

I used to ask a similar question once. Now I'll be more specific. The purpose is to learn a Haskell idiom to write iterative algorithms with monadic results. In particular, this might be useful for implementing all kinds of randomized algorithms, such as genetic algorithms and a like. I wrote an example program that manifests my problem...

Can't see my own application methods in Java VisualVM

I'm trying to profile my java app, just to find out the methods in which most time is being spent. Given the poor reactions here to TPTP, I thought I'd give Java VisualVM a go. It all seemed rather simple to use - except that I can't seem to get anything consistent or useful out of it. I can't seem to see anything relating to MY OWN co...

How to measure x86 and x86-64 assembly commands execution time in processor cycles?

I want to write a bunch of optimizations for gcc using genetic algorithms. I need to measure execution time of an assembly functions for some stats and fit functions. The usual time measurement can't be used, 'cause it is influenced by the cache size. So I need a table where I can see something like this. command | operands | operands s...

How to generate histogram of Java object lifetimes

I have a Tomcat Java webapp which is thrashing the Java GC when under load. I think this is due to a combination of a large amount of short lived objects along with an unknown amount of moderately long lived objects. To validate this theory I want to find a tool which will let me determine the object lifetimes for all allocated objects ...

Use gprof on a .so library?

Hey, I'm building a .so plugin and would like to profile it using gprof. At the moment, I don't have the ability to rebuild (with the -pg option) the executable that links to it. Is it possible to use gprof to profile just this .so file once it's loaded up and linked to? ...

Remotely profiling a JVM

I need to remotely profile a JVM for CPU Usage, IO stats and File descriptor/handler count and support both *NIX and windows platforms while doing so. I tried using the SIGAR API, which abstracts the platforms very well using an underlying native code implementation, but it does not support remote profiling. Is there an alternative API w...

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