Comments (6)
I've implemented a workaround in my fork that synthesizes fake stack samples for all the missed sampling intervals. Now all I need to do is clean it up and create a fresh PR, without the extra debugging gunk.
I seem to be taking unreasonable amounts of time doing this, because I'm busy with other things. :/
from djdt-flamegraph.
Thank you for investigating this and the detailed explanation. Can't wait to see the PR!
from djdt-flamegraph.
any progress on this one? Is this issue still valid, or do you use other tools day?
from djdt-flamegraph.
I'm sorry, I drifted away to other projects without finding the time to clean this up. :(
from djdt-flamegraph.
@mgedmin I once wrote a similar tool called live-trace (https://github.com/guettli/live-trace) which dumps the current stacktrace every N milliseconds. But it has the same fundamental problem that you noted: if the main thread is blocked in some C code, signal handling gets delayed for an unbounded time. I tried to find a tool for profiling production environments with low impact, but up to now I could not find a solution. Do you have a hint?
from djdt-flamegraph.
Just for the records, I asked here to find a solution: https://stackoverflow.com/questions/49030629/statistical-profiling-in-python
from djdt-flamegraph.
Related Issues (7)
- 500: INTERNAL SERVER ERROR HOT 2
- ValueError: signal only works in main thread HOT 3
- make example returns error HOT 1
- Signals + subprocesses may lead to livelock HOT 5
- nicer error page for missing start parameters HOT 4
- AttributeError: 'NoneType' object has no attribute 'get' when this package is installed. HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from djdt-flamegraph.