Company
Date Published
Author
Tony Xiao
Word count
336
Language
English
Hacker News points
None

Summary

We extended our performance monitoring solution to PHP and Serverless, with plans for Ruby and Java + Springboot support soon. A new view in Performance, Trends, shows improved and regressed transactions in relation to releases. We used Trends to investigate a potential performance regression after shipping a new feature, Web Vitals, which showed a dramatic increase in duration for a specific query. The root cause was found to be a bug in our Snuba search infrastructure that was causing the Abstract Syntax Tree to be processed multiple times, and we fixed this by implementing a cache to store translated nodes. This demonstrates the value of using performance monitoring tools like Trends to communicate with your code and identify areas for improvement.