magic-trace
perfetto
magic-trace | perfetto | |
---|---|---|
29 | 1 | |
4,439 | 26 | |
0.6% | - | |
6.8 | 0.0 | |
6 days ago | over 1 year ago | |
OCaml | C++ | |
MIT License | Apache License 2.0 |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
magic-trace
-
When Optimising Code, Measure
I really like magic-trace [0].
https://github.com/janestreet/magic-trace
Not that the exact tracing relies on Intel PT - support for AMD was added recently but uses perf so suffers from the same sampling/skew issues, but is still very useful.
-
Grafana Phlare, open source database for continuous profiling at scale
Would love to see this integrate with magic trace [1]. I'll need to look at the code for the flamegraph plugin, because handling nanosecond timestamps in flamegraphs seems to break most tools due to float precision.
(1) https://github.com/janestreet/magic-trace
-
How to break into Hudson River Trading?
As for inner workings, have you looked into magic trace? I want to play around with it but last I checked, it doesn't work on macs.
-
Brendan Intel.com
I really hope he can work with cloud vendors and Intel to make Processor Trace a more popular and easier to use capability.
It's unfortunate how https://github.com/janestreet/magic-trace and PMUs in general can't be used by lots of people using cloud VMs.
- GitHub - janestreet/magic-trace: magic-trace collects and displays high-resolution traces of what a process is doing
-
Hacker News top posts: Apr 23, 2022
Magic-trace – High-resolution traces of what a process is doing\ (133 comments)
- Magic-trace – High-resolution traces of what a process is doing
- Magic-trace - 高分辨率跟踪一个进程正在做什么 (Magic-trace – High-resolution traces of what a process is doing)
perfetto
-
Jane Street Magic-Trace
You should make it more clearer in the Readme that the UI service fork used for viewing and analyzing the traces is also available should one want to deploy it locally or in a siguation without Knternet access:
https://github.com/janestreet/perfetto/
It is mentioned in the documentatiom but for anyone quickly skimming and expecting a SaaS pricing model underneath (I think many do now), that isn't obvious. From my initial scroll through this wasn't obvious and it was significantly less attractive. Looks very interesting!
What are some alternatives?
viztracer - VizTracer is a low-overhead logging/debugging/profiling tool that can trace and visualize your python code execution.
tracy - Frame profiler
perspective - A data visualization and analytics component, especially well-suited for large and/or streaming datasets.
owee - OCaml library to work with DWARF format
linux - Linux kernel source tree
scalene - Scalene: a high-performance, high-precision CPU, GPU, and memory profiler for Python with AI-powered optimization proposals
memray - Memray is a memory profiler for Python
pyflyby - A set of productivity tools for Python
casync - Content-Addressable Data Synchronization Tool
dtale - Visualizer for pandas data structures