About:

Senior Staff Software Engineer at Google and founding Perfetto engineer focused on performance tracing, trace analysis and open source; builds Android ROMs/apps and writes a newsletter.

Website:

Specializations:

Interests:

Performance tracing and analysis Trace analysis tools (PerfettoSQL) Open source software Android

Outgoing Links:

Subscribe to RSS:
Optimizing the Perfetto UI's rendering performance through a shift from binary search to exponential search significantly enhances data fetching efficiency for large traces.
The blog post discusses a talk given at the 2025 Tracing Summit about Perfetto, a suite of tools for debugging and performance analysis in Linux systems. The author explains how Perfetto can be utilized by developers to diagnose p...
The blog post explains the implementation of hardware video encoding on the Raspberry Pi using the V4L2 M2M API. It discusses the challenges faced with existing APIs like OpenMAX and MMAL, and details the process of using V4L2 for...
The post discusses the challenges faced by the Perfetto team, a Google project, in prioritizing features for external users versus Android developers. The author shares their experience with the complexity of ordering tracks in Pe...
Lalit Maganti reflects on the contrasting experiences of engineers in Big Tech, particularly comparing his own role in infrastructure and developer tools at Google with Sean Goedecke's perspective on product engineering. Maganti a...
The blog post discusses the effectiveness of Claude Code and similar AI coding tools, emphasizing that while simplicity and the Unix philosophy are important, they are not the only factors that contribute to a tool's success with ...
Lalit Maganti, a Senior Staff Software Engineer at Google, discusses his work on Perfetto, an open-source performance tracing and analysis tool used in Android and Chrome. He has been involved with Perfetto since its inception in ...
The rise of cloud-based Linux virtual machines like sprites, exe.dev, and shellbox highlights a shift towards user-friendly, sandboxed environments for rapid development in the AI era.
Senior engineers must navigate the complexities of addressing bad projects, balancing the need to speak up with the risks of political fallout and influence management.
The author describes a quarterly 'fixit' week at their organization, where software engineers pause regular work to focus on fixing small bugs and improving user experience. The initiative fosters team spirit, enhances productivit...
The post critiques the idea that one should focus on building an audience for written content, arguing instead that quality work will find its audience through 'liquidity providers' like influencers and algorithms. The author beli...
The author discusses the value of 'Diátaxis,' a framework for technical documentation that offers comprehensive guidance and examples. They express admiration for the author's understanding of technical documentation and their con...
A personal finance system using plain-text accounting and Beancount enables reliable financial management across multiple accounts and currencies, ensuring a trustworthy net worth number.
The post discusses the performance challenges faced while working on the Perfetto UI project, highlighting two specific CSS properties: 'will-change' and 'isolation'. The author explains 'will-change' as a hint for the browser reg...
The post discusses a common misconception regarding SQLite's type casting, specifically the behavior of the CAST function. It explains that using 'CAST(bar AS STRING)' results in an integer due to SQLite's column affinity rules, a...
The Perfetto team revised their documentation to better serve developers, struggling with its structure. They found inspiration in 'The Documentation System' by Divio, which categorizes documentation into four quadrants: Tutorials...
The author reflects on their experience with Linux man pages, specifically the significance of the numbers in commands like sleep(3) and read(2). They clarify that these numbers indicate the section of the manual where the command...
The blog has undergone several updates, including a redesign of the homepage to a two-pane dashboard format to better categorize varied content types. The author reintroduced a light mode after simplifying the CSS and removing unn...
The post discusses 0x0.st, a temporary file hosting service that allows users to upload files without creating an account. It highlights the simplicity of the upload process, the service's duration for file hosting, and the author...
The author discusses their struggle with procrastination as a software engineer, particularly when faced with unclear project scopes. They explain how using Large Language Models (LLMs) helps them overcome this hurdle by providing...
The blog has undergone a redesign to improve content organization, reintroduced light mode for better visibility, and updated typography for enhanced readability.
Plain-text accounting offers a straightforward and transparent method for managing finances in a multi-currency household.