HNHacker News
TopNewBestAskShowJobs

lalitmaganti

765 karma · joined February 1, 2021

Senior Staff Software Engineer at Google working on Perfetto (docs.perfetto.dev). Passionate about open source, performance, and the intersection of the two. Writing about all of these at lalitm.com.
submissionscomments
lalitmaganti··on Perfetto: Swiss army knife for Linux client tracing
Thanks for the nice words! Your tool sounds super neat!

We're look at integrating some sort of similarish things into Perfetto itself where, for a synthetically generated trace, you can say "run this SQL query and add a debug track for it on trace load". See the discussion on https://github.com/google/perfetto/issues/1342 :)

lalitmaganti··on Use DuckDB-WASM to query TB of data in browser
+1 this was my experience trying it out as well. I find that for getting started and for simple usecases it works amazing. But I have quite a lot of concerns about how it scales to more complex and esoteric workloads.

Non-deterministic OOMs especially are some of the worst things in the sort of tools I'd want to use DuckDB in and as you say, I found it to be more common than I would like.

lalitmaganti··on [dead]
I gave a talk at the 2025 Tracing Summit last month titled “Perfetto: The Swiss Army Knife of Linux Client/Embedded Tracing”. My goal in this talk was to show how Linux kernel, systems and embedded developers can use Perfetto when debugging and root-causing performance issues in their respective domains.

Taking inspiration from Simon Willison, this post is an annotated presentation containing my slides and detailed notes on them. The talk also has a lot of UI demos: for these, I’ll have a screenshot but also a link to the relevant part of the video (videos are unbeatable for UI!).

lalitmaganti··on What Makes a Good Tool for Claude Code
Author here. Been thinking a lot on what are the hallmarks of writing tools for Claude Code after reading a this recent blog post (https://www.alephic.com/writing/the-magic-of-claude-code).

Came up with three principles: 1) Wide usage 2) Good documentation 3) Good error messages. Seen this in my own experience while working on Perfetto (perfetto.dev) as well. Curious to see if others are seeing the same.

lalitmaganti··on Harnessing Frustration: Using LLMs to Overcome Activation Energy
Author here. Post is about use of LLMs in a way I've not seen discussed; the psychological side of using LLMs and how reactions to it — frustration or excitement — can be a tool to break through procrastination. Curious if others have noticed this.
lalitmaganti··on Magic-trace – High-resolution traces of what a process is doing
(Perfetto developer here)

The Perfetto UI already supports flamegraphs btw (we use it for memory profiling and CPU stack sampling). We've never bothered to implement it for userspace slices because we've never had high frequency data there to make that a worthwhile view of the data.

Contributions for this upstream are very welcome :)

← PreviousPage 3 of 3