Hacker GitHub

← All repos

mstange/samply

View on GitHub ↗ ★ 4,475 Rust

Command-line sampling profiler for macOS, Linux, and Windows

16 mentions on Hacker News by 13 people: 5 stories, 11 comments · first 2022-09-04 · latest 2025-07-10

Mentions per year 16 mentions · busiest year 2024 (7)
20082026
  1. …probably write a post showing how to do this. Another also-much-better alternative is Samply ( https://github.com/mstange/samply ) which uses the Firefox Profiler as a GUI. I don't like it quite as much as pprof but it's clearly still much…
  2. You can also use https://github.com/mstange/samply to make recording and viewing in the Firefox profiler easier. It will spin up a localhost server after the trace ends, the profiler uses the localhost server and nothing is shared with…
  3. …data to Firefox Profiler that I've had better results with compared to the regular import. [0]: https://github.com/mstange/samply
  4. I can really recommend samply: https://github.com/mstange/samply . It just works out of the box. It uses the Firefox profiler to view its recorded profiles. You can (don't have to, just can) even share them, I was looking at this profile…
    comment by orlp · 2024-12-25 · in Navtive FlameGraphViewer
  5. …marked unsafe). So yes, they look formally similar, but the difference in practice is enormous. [1] https://github.com/mstange/samply
    comment by sunshowers · 2024-12-02 · in RAII and the Rust/Linux Drama
  6. …for C, C++ and Rust. [0]: https://gist.github.com/neon-sunset/72e6aa57c6a4c5eb0e2711e1... [1]: https://github.com/mstange/samply [2]: https://github.com/search?q=repo%3ARyujinx%2FRyujinx+ref+str... [3]:…
  7. …on any performance critical low-level code without a good sampling profiler. I'm pretty happy with https://github.com/mstange/samply . It worked out-of-the-box on Linx and MacOS, even on Windows after installing directly from the repo…
  8. …more convenient than dotTrace for preliminary perf work and is usually more than sufficient). [0] https://github.com/mstange/samply
  9. …stacks won't be unwound, as the size of the process stack the kernel sends is quite limited. - [0]: https://github.com/mstange/samply
    comment by javierhonduco · 2024-03-17 · in The return of the frame pointers
  10. …https://share.firefox.dev/3j3PJoK Firefox Profiler: https://github.com/firefox-devtools/profiler 0: https://github.com/mstange/samply
    comment by dceddia · 2023-03-06 · in Firefox Profiler
  11. …space, and as the author pointed out, it also has a lot of IO overhead. As an alternative approach, https://github.com/mstange/samply processes data streamed from perf and unwinds it in realtime. The unwinding overhead is surprisingly low:…
    comment by ishitatsuyuki · 2023-02-15 · in Frame pointers vs. DWARF – my verdict