Questions tagged [profiler]

A profiler is a programming tool used to track and analyse the performance of a software program.

A profiler is a programming tool to track and analyse the performance of a software program. Profilers can focus on different aspects, for example:

  • memory usage
  • cpu usage
  • the frequency and duration of function/method calls
  • resource usage

Most profilers use a process called instrumentation (adding measuring code) to gather data, but some profilers can also use sampling (polling data at specific intervals).

1568 questions
391
votes
5 answers

SQL Server Profiler - How to filter trace to only display events from one database?

How do I limit a SQL Server Profiler trace to a specific database? I can't see how to filter the trace to not see events for all databases on the instance I connect to.
G - M
374
votes
30 answers

What Are Some Good .NET Profilers?

What profilers have you used when working with .net programs, and which would you particularly recommend?
ricree
  • 30,749
  • 13
  • 33
  • 27
169
votes
7 answers

Alternatives to gprof

What other programs do the same thing as gprof?
neuromancer
  • 47,047
  • 74
  • 161
  • 217
149
votes
19 answers

Beyond Stack Sampling: C++ Profilers

A Hacker's Tale The date is 12/02/10. The days before Christmas are dripping away and I've pretty much hit a major road block as a windows programmer. I've been using AQTime, I've tried sleepy, shiny, and very sleepy, and as we speak, VTune is…
Jake Kurzer
  • 1,452
  • 3
  • 16
  • 24
102
votes
12 answers

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…
Frederik
  • 12,867
  • 9
  • 42
  • 52
96
votes
12 answers

Open Source Java Profilers

What can you guys recommend to use with Java? Only requirement is it should be open source, or has not too expensive academic licence .
Hamza Yerlikaya
  • 47,689
  • 37
  • 135
  • 231
92
votes
5 answers

Is there a PostgreSQL equivalent of SQL Server profiler?

I need to see the queries submitted to a PostgreSQL server. Normally I would use SQL Server profiler to perform this action in SQL Server land, but I'm yet to find how to do this in PostgreSQL. There appears to be quite a few pay-for tools, I am…
BozoJoe
  • 5,512
  • 3
  • 39
  • 63
89
votes
11 answers

Oracle: is there a tool to trace queries, like Profiler for sql server?

i work with sql server, but i must migrate to an application with Oracle DB. for trace my application queries, in Sql Server i use wonderful Profiler tool. is there something of equivalent for Oracle?
stefano m
  • 3,694
  • 4
  • 25
  • 24
83
votes
2 answers

SQL Server Profiler : How to specify multiple values for "NOT LIKE" column filter

According to : http://msdn.microsoft.com/en-us/library/ms175061.aspx It says that the "NOT LIKE" relational operator : "Specifies that the trace event data must not be like the text entered. Allows multiple values." But HOW do you specify multiple…
Moe Sisko
  • 10,508
  • 6
  • 43
  • 74
83
votes
2 answers

how do you profile java source with intellij idea editor?

I know that Netbeans has something of an "integrated" profiler, for instance you can run unit tests and use it to analyze and find what is slowing them down, where bottlenecks are. Is it possible to profile code within IntelliJ IDEA editor?
rogerdpack
  • 50,731
  • 31
  • 212
  • 332
83
votes
19 answers

Any decent C# profilers out there?

I need a C# profiler. Although I'm not averse to paying for one, something which is free or at least with a trial version would be ideal since it takes time to raise a purchase order. Any recommendations?
Gareth Simpson
  • 32,735
  • 12
  • 44
  • 49
80
votes
6 answers

Get time of execution of a block of code in Python 2.7

I would like to measure the time elapsed to evaluate a block of code in a Python program, possibly separating between user cpu time, system cpu time and elapsed time. I know the timeit module, but I have many self-written functions and it is not…
lucacerone
  • 8,140
  • 12
  • 48
  • 72
80
votes
9 answers

What is a good easy to use profiler for C++ on Linux?

I need to profile some code running C++ on Linux. Can you guys recommend some profilers?
shergill
  • 3,518
  • 9
  • 36
  • 48
69
votes
4 answers

How to efficiently use Rprof in R?

I would like to know if it is possible to get a profile from R-Code in a way that is similar to matlab's Profiler. That is, to get to know which line numbers are the one's that are especially slow. What I acchieved so far is somehow not…
Henrik
  • 13,334
  • 9
  • 64
  • 89
66
votes
5 answers

App keeps crashing when Android profiler is used

My app is doing some location tracking and update database when needed, the app has been running 2 days without having any issue. And now I am trying to use the Android Profiler (Android Studio 3.01), however, as soon as I turn it, it runs for few…
spiderloop
  • 749
  • 6
  • 10
1
2 3
99 100