Questions tagged [profiling]

Profiling is the process of measuring an application or system by running an analysis tool called a profiler. Profiling tools can focus on many aspects: functions call times and count, memory usage, cpu load, and resource usage.

Profiling is the process of measuring an application or system by running an analysis tool called a profiler. Profiling tools can focus on many aspects: functions call times and count, memory usage, cpu load, and resource usage.

5996 questions
4
votes
2 answers

How to setup Django silk profiler

I am completely new to Django and profiling. I have completed all the steps mentioned in the document for setting up the silk profiler. https://github.com/jazzband/silk I did not find any error when I ran the manage.py run server command But when I…
Aparna Rajan
  • 153
  • 1
  • 3
  • 13
4
votes
4 answers

how to find which part of js is slowing the page down

hi my page is taking about 9s on local server and about 20s on remote server, i am sure that the problem is in js, but i can't find what makes it slow, can you please help me find a solution or any tool to hunt the problem down?
Shaheer
  • 2,105
  • 4
  • 25
  • 39
4
votes
1 answer

Deeper function profiling/emulation

Hello everyone Merry Christmas I need an advice I have the following code: int main() { int k=5000000; int p; int sum=0; for (p=0;p
Syntax_Error
  • 5,964
  • 15
  • 53
  • 73
4
votes
4 answers

How to detect if RDTSC returns a constant rate counter value?

It seems most newer CPUs from both AMD and Intel implement rdtsc as a constant rate counter, avoiding the issues caused by frequency changing as a result of things like TurboBoost or power saving settings. As rdtsc is a lot more suitable for…
Suma
  • 33,181
  • 16
  • 123
  • 191
4
votes
3 answers

How to visualize NodeJS .cpuprofile

I use v8-profiler to profile my NodeJS app. It generates a .cpuprofile file. I used to be able to visualize the content of the file with Google Chrome built-in DevTools. However, Chrome recently changed the file format for profiling results and…
RainingChain
  • 7,397
  • 10
  • 36
  • 68
4
votes
1 answer

GHC profiler output

I have been going through a blog discussing space leaks in Haskell and have been trying to understand the graph output provided by the ghc profiler (after using hp2ps) Specifically this is the code that I am looking at: main = print (f [1..4000000]…
4
votes
1 answer

JVisualVM -Xverify:none does not solve Redefinition failed with error 62

I am trying to profile a simple java application using jvisualvm on Windows 7 64 bit. I am using Java 8 with JDK 1.8.0_131. I am able to see my application and use the Sample tab of VisualVM, however when I use the CPU option of the Profile tab I…
user1433734
  • 313
  • 1
  • 4
  • 12
4
votes
1 answer

Are there any Qt specific profilers around?

are there any profilers which work well with Qt? I'd prefer free profilers for windows but any hint is appreciated. I tried "Very Sleepy" and it works but I cant convince it to demangle the method names. Maybe I'm just doing wrong? Any pit-falls I'm…
atamanroman
  • 11,607
  • 7
  • 57
  • 81
4
votes
1 answer

How to see call tree profiling in JMH?

I want to profile JMH tests and look at a call tree like in the VisualVM. But when I use the StackProfiler, it gives me native methods like that, which totally useless in my case. ....[Thread state…
4
votes
2 answers

Visual Studio Profile Guided Optimization

I have a native C++ application which performs heavy calculations and consumes a lot of memory. My goal is to optimize it, mainly reduce its run time. After several cycles of profiling-optimizing, I tried the Profile Guided Optimization which I…
4
votes
1 answer

Linux perf tools - How to simultaniously profiling multiple processes? How to extract Percentage of CPU cycles?

I am trying to profile a set of processes on my CPU. In order to be very precise I want to use the perf stat command to see how many CPU cycles my processes used. This is different from top, where I only see the percentage of the CPU used in a…
manuelgr
  • 498
  • 1
  • 8
  • 26
4
votes
1 answer

Should we measure the average or the minimum execution time of a routine?

When we measure the execution time of a routine (always using the same input) we don't get the same result (time) even if we should because the program runs in a multitasking environment. Even if we run our program as 'high priority' some…
Gabriel
  • 20,797
  • 27
  • 159
  • 293
4
votes
5 answers

Java heap profiling between two events

I want to gather the heap usage of a program. In particular from a specific start event up to an end event, and with a set interval for example every 10ms. I tried to implement something like this myself, which is the following code. It works for…
KeyboardDrummer
  • 577
  • 5
  • 21
4
votes
0 answers

Aggregate multiple perf profiles

I'm working on a managed runtime. A code change went in which resulted in a regression in the rate at which the JIT compiler processes compilations. (That is, the act of compiling is slower, the resulting code being generated is unaffected.) This…
shroudednight
  • 605
  • 4
  • 16
4
votes
4 answers

what is the best tool to profile asp.net mvc code?

Are there any good free or trial tool to use to profile performance bottlenecks in asp.net mvc c# code?
leora
  • 188,729
  • 360
  • 878
  • 1,366
1 2 3
99
100