- 
          
- 
                Notifications
    You must be signed in to change notification settings 
- Fork 5.7k
Description
Are there any plans for configuring the Profile profiler to only collect profiles for a specific threadid?
It would be nice to e.g. only profile what's happening on threadid 1.
The use case I have in mind is that we're starting an HTTP.jl HTTP Server on thread 1, via HTTP.serve(server=tcp) do http_request ; ... end, which from what I understand uses @async to schedule the provided callback on new Tasks, on the current thread. I am interested in profiling the performance and utilization of just that one thread.
Is this something that could be easily supported and added to Profile? Or maybe something that could be performed in post-processing of the collected profile data? Do we record a thread id in the traces we collect? (I think we don't, but maybe i'm missing something?)
Thanks! 🙂 ❤️ 📈