Top "Profiling" questions

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

How can I profile a multithread program in Python?

I'm developing an inherently multithreaded module in Python, and I'd like to find out where it's spending its time. cProfile …

python multithreading profiling
Is the UNIX `time` command accurate enough for benchmarks?

Let's say I wanted to benchmark two programs: foo.py and bar.py. Are a couple thousand runs and the …

linux unix profiling benchmarking
SQL Azure Profiling

I read on the MS site that SQL Azure does not support SQL Profiler. What are people using to profile …

azure profiling azure-sql-database profiler
How do you view a sample of the call stack in ruby?

I'm investigating different optimization techniques, and I came across this post Analyzing Code for Efficiency? by someone who believes that …

ruby-on-rails ruby optimization profiling
What is -no-pie used for?

I was working on Ubuntu 17.10 with GPROF for some testing with c files and when i execute with gprof the …

c testing gcc profiling gprof
how to profile application startup with visualvm

As far as i can tell, you can only profile a running application using VisualVM. Does anyone know of a …

java profiling visualvm
Can I manually say on xdebug profiler to start profiling in specific place?

I already have enabled xDebug profiling in my XAMPP installation and it works fine. Now I like to ask if …

php profiling xdebug
Python line_profiler code example

I am trying to figure out how I can run Python's line_profiler to get the line by line execution …

python profiling line-profiler
Benchmarking small code samples in C#, can this implementation be improved?

Quite often on SO I find myself benchmarking small chunks of code to see which implemnetation is fastest. Quite often …

c# .net performance profiling
How to use gprof with cmake

I have looked at dozens of tutorials for profiling with gprof. I'm trying to work with code for the SMT …

cmake profiling gprof dreal