profiling Questions
5
Solved
I'm trying to use the Eclipse VisualVM launcher. It seems pretty nice, except that it seems to spawn an instance if VisualVM too late to do any profiling of my application. My application finishes ...
4
Solved
Are there any known false positives with Valgrind? I get a 'Conditional jump or move depends on uninitialised value(s)' with the fmemopen function, writing in C and compiling with GCC. Can I be sur...
1
I'd like to profile my app using Instruments App.
My app is built without an error. I built it with Product > Profile menu.
After the build is finished, the Instruments app is automatically lau...
Merryman asked 23/9, 2022 at 5:25
1
I'm trying to debug a memory leak in some vendor-provided JNI/native code and, like many people it seems, started here:
https://technology.blog.gov.uk/2015/12/11/using-jemalloc-to-get-to-the-bottom...
Brandt asked 22/6, 2020 at 17:18
3
Solved
I have a wicket+spring+hibernate application running on Jetty. When I start CPU profiling it with VisualVM (jdk 1.7.0_9) it first stalls for several minutes with console prints:
Profiler Agent: 25...
3
Solved
I have found several conflicting answers over this topic. This blog post requires libuwind, but that doesn't work on Mac OS X. I included #include <google/profiler.h> in my code, however my c...
Illegal asked 7/6, 2016 at 17:16
3
I'm trying to determine how to correctly use cProfile and pstats with asyncio code. I am profiling my script by running cProfile.run('loop.run_until_complete(main())', 'profile.stats').
After usi...
Nealson asked 15/2, 2019 at 23:15
4
Solved
I'm attempting to profile some c++ code on my mac (os x Lion) and I haven't been able to find anything useful. I'm looking for a profiler that will tell me what functions are taking up my cpu time ...
2
I'm trying to troubleshoot a problem and I'm hoping you could help me with the method :) Hopefully this could also benefit other people.
I have a Jenkins server running (v2.46.2).
For some reason...
2
Solved
I'm using python -m cProfile -s calls myscript.py
python -m cProfile -s percall myscript.py does not work.
The Python documentation says "Look in the Stats documentation for valid sort values.": ...
1
To identify the step that is using most of the computation time, I ran cProfile and got the following result:
ncalls tottime percall cumtime percall filename:lineno(function)
1 0.014 0.014 216.0...
Theadora asked 22/8, 2019 at 21:56
6
Solved
I want to create a decorator that profiles a method and logs the result. How can this be done?
1
The code uses Console Trace Provider. However, In the function static void MakeActivity(string name),
The line ActivitySource.startActivity returns a null. How can i fix it?
The examples on google ...
Wedge asked 22/5, 2022 at 1:30
2
Solved
I'm trying to profile with perf on Ubuntu 20.04, but the problem is that many functions do not appear in it (likely because they are inlined), or only their addresses appear (without names etc.). I...
Erdei asked 3/12, 2021 at 11:44
1
Solved
I'm collecting some profiling information on intel using perf record about taken branches and I'm using -b to make use of LBR. Is there any similar support on ARM and PowerPC? And yes I've seen thi...
4
Solved
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 c...
10
Solved
I've recently become interested in algorithms and have begun exploring them by writing a naive implementation and then optimizing it in various ways.
I'm already familiar with the standard Python ...
2
Solved
Is it possible to use line_profiler with Numba?
Calling %lprun on a function decorated with @numba.jit returns an empty profile:
Timer unit: 1e-06 s
Total time: 0 s
File: <ipython-input-29-48...
Subsistence asked 6/2, 2019 at 1:34
31
Solved
I need to get execution time in milliseconds.
Note: I originally asked this question back in 2008. The accepted answer then was to use new Date().getTime() However, we can all agree now that using ...
Coprophilous asked 24/11, 2008 at 11:9
6
Solved
I am using cProfile try to profile my codes:
pr = cProfile.Profile()
pr.enable()
my_func() # the code I want to profile
pr.disable()
pr.print_stats()
However, the results are too long and cannot...
Synsepalous asked 26/7, 2018 at 10:13
15
Solved
I want to find out how much time a certain function takes in my C++ program to execute on Linux. Afterwards, I want to make a speed comparison . I saw several time function but ended up with ...
Represent asked 13/3, 2014 at 18:23
4
Need to run tests via gradle with spring profiles.
gradle clean build
I've added task:
task beforeTest() {
doLast {
System.setProperty("spring.profiles.active", "DEV")
}
}
test.dependsOn be...
Fecit asked 30/5, 2017 at 8:14
8
Solved
I have a production server running with the following flag: -XX:+HeapDumpOnOutOfMemoryError
Last night it generated a java-38942.hprof file when our server encountered a heap error. It turns out t...
Gushy asked 9/10, 2008 at 4:4
20
Solved
How do I find areas of my code that run slowly in a C++ application running on Linux?
2
I have a Python process that starts leaking memory after a long time (at least 10 hours, sometimes more). The issue is difficult to reproduce, therefore I would like to attach to the running Python...
Swabber asked 13/12, 2021 at 10:55
1 Next >
© 2022 - 2024 — McMap. All rights reserved.