social.tchncs.de is one of the many independent Mastodon servers you can use to participate in the fediverse.
A friendly server from Germany – which tends to attract techy people, but welcomes everybody. This is one of the oldest Mastodon instances.

Administered by:

Server stats:

3.9K
active users

#flamegraph

0 posts0 participants0 posts today
Replied in thread

@slembcke hahaha dw. here's some more profiling screenshots. the biggest spike at the top, the one that looks thin in beforepic and quite thick in afterpic, well that's the one that didnt change at all, lol. everything around it was trimmed down imagine how much

the whole render loop was peppered with memory allocations, mainly from String cloning and `format!` invocations. moved all that to a tiny handful of preallocated buffers

Continued thread

anyway, a thing that this #dsl is: slow! on every frame it recompiles the layout. granted, the layout is simple. still it should be possible to compile it all to a thunk, and only recompile on edit...

that's the "editable ui" saga, anyway. and i'm not sure at all whether the dsl is the bottleneck, but once i add like 40 tracks and 40 scenes the rendering drops to <10FPS

so, #cargoflamegraph it is... #perf #profiler #flamegraph

Профилирование: сравниваем инструменты 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

ХабрПрофилирование: сравниваем инструменты pt-pmp и perf на реальных примерахПривет, Хабр! В предыдущей статье был разобран первичный анализ работы приложения, какие инструменты стоит использовать для сбора информации и как с этими инструментами работать. Напомню,...

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

techblog.wikimedia.orgFlame graphs arrive in WikimediaDebug – [[WM:TECHBLOG]]