home.social

#flamegraph — Public Fediverse posts

Live and recent posts from across the Fediverse tagged #flamegraph, aggregated by home.social.

fetched live
  1. It's nice to see @elenatanasoiu and Emma teaching #BrightonRuby's crowd about @john's #vernier #RubyGem.
    Some people still don't know how to capture data to generate a #flamegraph of it.

    #Rails #RubyOnRails #GitHub

  2. It's nice to see @elenatanasoiu and Emma teaching #BrightonRuby's crowd about @john's #vernier #RubyGem.
    Some people still don't know how to capture data to generate a #flamegraph of it.

    #Rails #RubyOnRails #GitHub

  3. How to use #flamegraphs for #performance #profiling

    runbooks.gitlab.com/tutorials/

    Off-CPU Analysis - by Brendan Gregg:
    brendangregg.com/offcpuanalysi

    - On-CPU: where threads are spending time running on-CPU
    - Off-CPU: where time is spent waiting while blocked on I/O, locks, timers, paging/swapping, etc.

    #Testing #Perf #DataViz #DataVisualization #Flamegraph

  4. How to use #flamegraphs for #performance #profiling

    runbooks.gitlab.com/tutorials/

    Off-CPU Analysis - by Brendan Gregg:
    brendangregg.com/offcpuanalysi

    - On-CPU: where threads are spending time running on-CPU
    - Off-CPU: where time is spent waiting while blocked on I/O, locks, timers, paging/swapping, etc.

    #Testing #Perf #DataViz #DataVisualization #Flamegraph

  5. Inspecting flamegraphs is a pain - dealing with SVG files, opening a browser… ugh.

    Not anymore!

    🔎 **flamelens** — An interactive flamegraph viewer for the terminal.

    🔥 Works with perf, py-spy and cargo-flamegraph.

    🦀 Written in Rust & built with @ratatui_rs

    ⭐ GitHub: github.com/YS-L/flamelens

  6. Inspecting flamegraphs is a pain - dealing with SVG files, opening a browser… ugh.

    Not anymore!

    🔎 **flamelens** — An interactive flamegraph viewer for the terminal.

    🔥 Works with perf, py-spy and cargo-flamegraph.

    🦀 Written in Rust & built with @ratatui_rs

    ⭐ GitHub: github.com/YS-L/flamelens

    #rustlang #ratatui #tui #flamegraph #profiling #development #terminal #commandline

  7. Perforator: новая система непрерывного профилирования теперь в опенсорсе

    Привет! Сегодня мы выложили в опенсорс Perforator — систему непрерывного профилирования (continuous profiling), которую используем внутри Яндекса для анализа производительности большинства сервисов. В Github-репозитории доступен исходный код системы и инфраструктура для развёртывания своей инсталляции Perforator на кластере Kubernetes. Кроме того, Perforator можно использовать на своём компьютере как более простую замену perf record: профили получаются точнее, а оверхед меньше. Исходный код доступен под лицензией MIT (и GPL для eBPF-программ) и запускается под x86-64 Linux. При помощи Perforator и прошлых подходов к задаче профилирования мы регулярно оптимизируем самые крупные сервисы в Яндексе, например Баннерную крутилку или Поиск, на десятки процентов. Кроме того, Perforator реализует недостающий в опенсорсе компонент профилирования для простой автоматической оптимизации программ с использованием profile-guided optimization. Наши тесты показывают, что использование PGO даёт ускорение около 10% в разных сценариях. Под катом поговорим про профилирование под Linux, опишем вызовы и сложности, возникающие при профилировании, изучим, как устроен Perforator внутри, и обсудим, как можно использовать полученную систему.

    habr.com/ru/companies/yandex/a

    #профилирование #profiling #continuous_profiling #оптимизация #flamegraph #opensourse #опенсорс #опенсорс_яндекса

  8. Что не так с cProfile в Python

    Некоторое время назад с коллегой обсуждали вопрос профилирования программ на Python. Он сказал, что использует gprof2dot для пост‑обработки данных cProfile , в ответ я высказал мысль, о том, что было бы хорошо использовать более современные средства профилирования. И задумался, а можно ли какие‑то из существующих инструментов приспособить для работы с данными в формате pstat , но которые более удобные и дают больше возможностей для анализа.

    habr.com/ru/articles/871318/

    #python #cProfile #performance #flamegraph #treemap #профайлер

  9. Профилирование: сравниваем инструменты pt-pmp и perf на реальных примерах

    Привет, Хабр! В предыдущей статье был разобран первичный анализ работы приложения, какие инструменты стоит использовать для сбора информации и как с этими инструментами работать. Напомню, что речь шла о двух утилитах: poor man's profile (pt‑pmp), которая позволяет комплексно оценивать работу приложения, отображая off-cpu и on-cpu части; и perf , которая обладает высокой точностью и мощной функциональностью в целом. Оба этих инструмента применяются для анализа производительности, так как их комбинация позволяет целиком и со всех сторон осмотреть «пациента». Однако есть один пункт, который не был раскрыт в прошлой части: использование этих инструментов на настоящих продуктах. Синтетический пример на базе open‑source‑проекта — это хорошо, но будет не лишним показать, какие реальные проблемы были найдены, исправлены и какой прирост производительности удалось в итоге получить. В этой статье мы поговорим о практическом применении pt-pmp и perf , с помощью которых удалось обнаружить места для оптимизации работы программы. Меня по‑прежнему зовут Александр Слепнев, устраивайтесь поудобнее, начинаем!

    habr.com/ru/companies/pt/artic

    #perf #ptpmp #профилирование #производительность #flamegraph #cybersecurity #max_patrol #siem #оптимизация_программ

  10. Working with a lot of analytical data on ClickHouse?
    I've found the perfect tool for you! 💯

    🔍 **chdig**: Dig into @clickhousedb with a TUI interface.

    🔥 Supports flamegraphs and clusters with a top-like interface.

    🦀 Written in Rust & built with @ratatui_rs

    ⭐ GitHub: github.com/azat/chdig

  11. Working with a lot of analytical data on ClickHouse?
    I've found the perfect tool for you! 💯

    🔍 **chdig**: Dig into @clickhousedb with a TUI interface.

    🔥 Supports flamegraphs and clusters with a top-like interface.

    🦀 Written in Rust & built with @ratatui_rs

    ⭐ GitHub: github.com/azat/chdig

    #rustlang #ratatui #tui #clickhouse #analytics #flamegraph #terminal #commandline

  12. Here is how you can add CPU profiling to your Rust project! 🦀

    ⏱️ **pprof**: A Rust CPU profiler — supports generating flame graphs! 🔥

    📚 Docs: docs.rs/pprof

    ⛰️ Example implementation from @git_cliffgithub.com/orhun/git-cliff/pul

    ⭐ GitHub: github.com/tikv/pprof-rs

  13. Here is how you can add CPU profiling to your Rust project! 🦀

    ⏱️ **pprof**: A Rust CPU profiler — supports generating flame graphs! 🔥

    📚 Docs: docs.rs/pprof

    ⛰️ Example implementation from @git_cliffgithub.com/orhun/git-cliff/pul

    ⭐ GitHub: github.com/tikv/pprof-rs

    #rustlang #profiler #flamegraph #stats #cpu #library #performance

  14. To generate Instruments traces for Rust programs, I highly recommend the excellent cargo-instruments tool github.com/cmyr/cargo-instrume

    #rust #macos #flamegraph

  15. To generate Instruments traces for Rust programs, I highly recommend the excellent cargo-instruments tool github.com/cmyr/cargo-instrume

    #rust #macos #flamegraph

  16. Our goal is to lower the barrier to performance profiling. The WikimediaDebug browser extension for Firefox and Chromium, can now profile the backend MediaWiki PHP process, and turn it into an interactive flamegraph, powered by Excimer and Speedscope.

    What are flamegraphs, when do you need it, and how does it work?

    techblog.wikimedia.org/2023/06

    #WebPerf #profiling #flamegraph #PerfMatters #PHP #MediaWiki #Excimer #Speedscope

  17. Our goal is to lower the barrier to performance profiling. The WikimediaDebug browser extension for Firefox and Chromium, can now profile the backend MediaWiki PHP process, and turn it into an interactive flamegraph, powered by Excimer and Speedscope.

    What are flamegraphs, when do you need it, and how does it work?

    techblog.wikimedia.org/2023/06

    #WebPerf #profiling #flamegraph #PerfMatters #PHP #MediaWiki #Excimer #Speedscope

  18. @sjmulder The answer is #DTrace, start with something like execsnoop but keep a track of parent/child relationships and how long the processes ran for, then use the tools in the #FlameGraph repository to convert the text output to an SVG.

  19. @sjmulder The answer is #DTrace, start with something like execsnoop but keep a track of parent/child relationships and how long the processes ran for, then use the tools in the #FlameGraph repository to convert the text output to an SVG.

  20. It's surprisingly hard to find free #profiling tools to generate a #FlameGraph (hierarchical analysis of which methods take the longest) in a #Java program… What are your favorites? Any IDE integration? #jvm #eclipse #intellij

  21. It's surprisingly hard to find free #profiling tools to generate a #FlameGraph (hierarchical analysis of which methods take the longest) in a #Java program… What are your favorites? Any IDE integration? #jvm #eclipse #intellij