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

1716 questions
0
votes
0 answers

Runtime injection profiling strategy

I am working on a SHARC architecture on an embedded platform that I cannot use with a JTAG debugger because of real-time constraints. My idea is to implement a sort of an invasive profiler based on the linker memory-map file (which is a nice XML…
nowox
  • 25,978
  • 39
  • 143
  • 293
0
votes
0 answers

How to profile sync functions in Node.js

There are a lot of profiling tools out there that track async functions and the time between they are called and calling back. How do I actually profile the time every sync function call withing a function takes? If one function is slow, I would…
Redsandro
  • 11,060
  • 13
  • 76
  • 106
0
votes
0 answers

Ruby profiler extra methods calls resulted

I was playing today with Ruby profiler and found something strange in my results. Let's take a sample code from docs: require 'profile' def slow_method 5000.times do 9999999999999999*999999999 end end def fast_method 5000.times do …
Robs
  • 153
  • 2
  • 10
0
votes
1 answer

Javascript profiler shows each() spending a lot of time, but how to find where it is?

IE 8 and Firebug's Javascript profiler both showed that jQuery each() spent a lot of time, but since the each() is not inside a function, there is no way to tell which line it is, and there are lots of these each() in the global scope of the source…
nonopolarity
  • 146,324
  • 131
  • 460
  • 740
0
votes
1 answer

Runtime functions in v8

In v8, ic.cc, i see functions like RUNTIME_FUNCTION(Runtime_KeyedLoadIC_Miss). I don't understand how are they invoked. Is there some connection with TailCallRuntime(Runtime::kKeyedLoadIC_Miss, arg_count, 1); from ic-ia32.cc? What is the…
dmonji
  • 131
  • 7
0
votes
1 answer

How to profile a GUI application with a message queue?

I would like to profile a GUI application that uses a message queue. In the profiler results window I see that 80% of the samples are within message loop handling code. Is it possible to filter out the results somehow that I only see the code I can…
tommyk
  • 3,187
  • 7
  • 39
  • 61
0
votes
1 answer

How to capture number of commits in sonarqube?

I want to check the number of commits on daily basis. Is there any plugin in sonarqube to do the same. I use git repository for my codebase can someone help me on the same please
0
votes
2 answers

Time Profiler: Optimizing UIImageView alloc/init calls

Time Profiler says that statements like these are slowing my app down. Is there a better way to write this so that my app runs faster? background = [[UIImageView alloc] initWithImage:[UIImage imageNamed:@"myfolder.png"] highlightedImage:[UIImage…
jmont
  • 423
  • 3
  • 12
0
votes
0 answers

XDebug Profile Not Profiling Certain Functions

I have a very slow rest api call that I'm trying to optimise. It takes about 20-30 seconds to return. I know that most of the work is happening in a function called requestBase->process(), but this doesn't show up at all when I use webgrind to view…
tobuslieven
  • 1,474
  • 2
  • 14
  • 21
0
votes
2 answers

Percentages in CPU profiler in Chrome

What do the percentages in the chrome cpu profiler for the "Heavy (Bottom Up)" view indicate? Specifically I mean in the "Total" column. I had thought percentage of total cpu time (as in total cpu time over the course of the profile recording) but…
John Cast
  • 1,771
  • 3
  • 18
  • 40
0
votes
0 answers

How can I detect the MSVC profiler running my code?

I'm looking for something akin to the Windows API IsDebuggerPresent() but to determine if the code is being profiled under MSVC2013. Does such an API exists, or is there another way?
cdmh
  • 3,294
  • 2
  • 26
  • 41
0
votes
1 answer

Argument exception when using GDI, do I miss some dispose? How to locate the issue with memory profiler?

I have a timer that throws a function (GetColorAtPoint) to retrieve a pixel using GDI every 10ms (time is critical). After a few seconds, I get the following exception: [GetColorAtPoint]System.ArgumentException: Parameter is not valid. at…
сами J.D.
  • 483
  • 2
  • 5
  • 19
0
votes
1 answer

Memory profiling for a daemon process

I have a daemon process on which I want to perform a memory profile. So I took valgrind as a choice and ran it using massif tool, but since the process never dies, massif never returns the output file. Even I try to send a TERM signal to the…
user2604844
  • 71
  • 1
  • 4
0
votes
1 answer

Unable to view complete output from gprof profiler

In spite of compiling my code with -pg flag set, I am unable to view the complete details of the gprof output from gmon.out Specifically, I am not getting the details of calls, self Ts/call and total Ts/call. This is the output of gprof…
Swaroop
  • 1,219
  • 3
  • 16
  • 32
0
votes
1 answer

OpenACC shared memory usage

I am working with openacc using pgi compiler. I want to know how I can profile the code about memory usage specially the shared memory at runtime? Thank you so much for your help! Behzad
behzad baghapour
  • 127
  • 2
  • 11
1 2 3
99
100