Hello, everybody. So a while ago, our CEO went onto Amazon and then he typed the cheapest laptop he could find. And he just ordered the laptop and he brought it to the office. So he brought it to the office. It was an Acer Celeron laptop, really low spec, very, very similar to a Chromebook, and he decided to test Postman on this really, really cheap laptop. We were not surprised that it was painful to watch. It was very, very, very difficult to get Postman working on that laptop. It was very slow. Sometimes it takes about 30, 40, 50 seconds to launch, and it will just start crashing. The CPU starts spiking. And it was a very difficult thing to see. And we knew we had a performance problem. But only then we realized how bad the problem was.
Hi, everybody. So my name is Ruben Casas, I am a staff engineer at Postman, and today I'm going to show you five tips on how to improve your app performance. From picking the right metric, so understanding your problem, to reviewing and creating an action plan to bring the company together and solve the performance of your app. Doesn't matter if it's a mobile app, a desktop app, or a React app, you should be able to use these tips to get up and going and improving the performance like we did with Postman. So where do we start? In performance, the only place to start is measure, measure, measure. You need to start measuring performance. You cannot start solving a problem unless you start measuring performance. And then after you measure performance, the first thing you need to do is to pick a north star metric. You can measure multiple things, a lot of things, but you need to pick one metric and start obsessing over that metric and fixing and improving that metric. So we already had the metrics, some metrics at Postman, we had the usual stuff, we had the Core Vitals, the Lighthouse metrics. But to solve this problem, because it was so complicated, we knew we had to go deeper to understand the problem.
So which one? Which one do we choose from Lighthouse? Which metric? We decided to go a different way. I found recently this concept called TTF. And TTF is used in mobile gaming. And as you can see in the Super Mario GIF here, is the time it takes to have fun. So from the moment you start a Mario game, you immediately start having fun. You start jumping, killing enemies, getting money, getting power-ups.
Comments