Top "Profiling" questions

Profiling is the process of measuring an application or system by running an analysis tool called a profiler.

How to measure time taken by a function to execute

I need to get execution time in milliseconds. I originally asked this question back in 2008. The accepted answer then was …

javascript profiling
How can you profile a Python script?

Project Euler and other coding contests often have a maximum time to run or people boast of how fast their …

python performance profiling time-complexity
How can I profile C++ code running on Linux?

I have a C++ application, running on Linux, which I'm in the process of optimizing. How can I pinpoint which …

c++ linux profiling
How do I analyze a .hprof file?

I have a production server running with the following flag: -XX:+HeapDumpOnOutOfMemoryError Last night it generated a java-38942.hprof file …

java profiling heap
What Are Some Good .NET Profilers?

What profilers have you used when working with .net programs, and which would you particularly recommend?

c# .net profiling profiler
How to set the maximum memory usage for JVM?

I want to limit the maximum memory used by the JVM. Note, this is not just the heap, I want …

java memory memory-management memory-leaks profiling
How to get object size in memory?

I need to know how much bytes my object consumes in memory (in C#). for example how much my Hashtable, …

c# .net performance memory profiling
How do I profile memory usage in Python?

I've recently become interested in algorithms and have begun exploring them by writing a naive implementation and then optimizing it …

python memory profiling
Which Python memory profiler is recommended?

I want to know the memory usage of my Python application and specifically want to know what code blocks/portions …

python performance memory-management profiling
Measuring function execution time in R

Is there a standardized way in R of measuring execution time of function? Obviously I can take system.time before …

r time profiling