Why Your Performance Work Is Not Seen

Rate this content
Bookmark

Between core-web vitals and profiling tools there's always one big obstacle, company buy-in. There are many ways your performance work might not be seen or prioritised. So let's talk about them.

This talk has been presented at JSNation 2024, check out the latest edition of this JavaScript Conference.

FAQ

The talk focuses on the challenges of making performance work visible and prioritized within organizations. It discusses not just the technical aspects, but also governance, driving performance governance, and managing priorities in product development environments.

Vinicius is a professional originally from Brazil, currently living in Sweden, and working for Volvo Cars. His talk reflects his extensive experience in performance optimization in software engineering.

The talk mentions lab tooling and real user monitoring (RUM) tooling as the two facets of the tooling ecosystem essential for performance analysis and improvement.

The speaker discusses the difficulty of getting performance work prioritized from the backlog and suggests focusing on demonstrating the value and impact of performance improvements to get such tasks prioritized.

Data plays a crucial role in performance governance by providing evidence-based insights that help in setting realistic goals, framing the data effectively, and making informed decisions to improve product performance.

The speaker emphasizes the importance of integrating engineering and product perspectives, using real user data for better insights, and segmenting performance metrics to align improvements with actual user experiences and product goals.

Vinicius recommends starting small by gaining the support of immediate managers and gradually building evidence through data to demonstrate the impact of performance improvements on product metrics, thus securing broader executive support.

Effective performance monitoring involves choosing the right tools that fit the team's workflow, setting meaningful performance budgets, and continuously iterating and improving based on real user data and feedback.

Vinicius Dallacqua
Vinicius Dallacqua
25 min
13 Jun, 2024

Comments

Sign in or register to post your comment.

Video Summary and Transcription

This Talk discusses the importance of performance work and how to drive performance governance. It emphasizes the need to frame data, set meaningful budgets, and understand both engineering and product perspectives. The Talk also highlights the significance of delivering value, establishing solid performance governance, and gaining buy-in from management. Additionally, it emphasizes the importance of measuring performance, optimizing through data, and collecting performance data using tools like Speedcurve and Bugbear Sentry. The speaker also mentions their training program and expresses gratitude towards the audience.

1. Performance Work and Governance

Short description:

My talk is about why performance work is not seen. We're going to be talking about governance and how to drive performance governance. We care about performance because applications can be used in unpredictable conditions. Lab tooling and real user monitoring provide important data. Getting performance work prioritized is a challenge when dealing with backlogs and time constraints. Proving value and setting up a governance process require data.

My talk is about why performance work is not seen, so this is a little bit just of setting a little bit of expectations. It's not going to be a super deep technical talk, so we're going to be talking about governance, and we're going to be talking about how to drive performance governance.

My name is Vinicius, and, yes, I'm still originally from Brazil, and still living in Sweden. I work for Volvo Cars. One thing that we have in this room now, and I would like to think that we all care about performance. So, hopefully, we all care about performance. This is actually something that is very, very easy to understand why we, as engineers, care about performance. Our applications can be used in many different set of conditions that are not very predictable, and performance as a subject is also not very predictable. Our users can put our application to conditions that are just very hard for our applications to perform.

When it comes to performance that we are trying to gauge, we hopefully all know about lab tooling, and if we know about lab tooling, we most likely know about Lighthouse. When it comes to tooling and monitoring and metrics, we have the lab, and we also have the Rome tooling, so real user monitoring tooling. So it is important to have the two facets of the tooling ecosystem, so you have your lab data and you have those early regressions being caught, and you have your real user metrics where you're going to have actual representation of how your application runs in the real world.

But I don't know how many of you work within product teams, and we all know the backlog. The backlog is that entity, that presence that is always looming on our progress, and it is mostly where all good intentions go to die. The question for most of us that are trying to put some performance work out there to the world is how do you get your work prioritised out of the backlog? If you're like me, you have caught yourself, this is by the way, one of our Swedish offices, but those are all by me, and this is within the main lounge of our quite nice Gothenburg Swedish office. If you're like me, you have caught yourself, just like Jake, sitting down and wondering how can you make sure to get that nice work out there? How do you get the performance work and improve your metrics and shout to the world that you improve the user's performance? Just like everyone else out there, it also works into a product. Most often than not, things around you are on fire. And you're trying to wonder, how do I manage to get this work done? I want to work on performance. But things are always on fire, and you have to deal with that. And let's not forget, you have the backlog, that looming entity just beside you, reminding of its existence, and sometimes, somehow, the backlog is also on fire! And now you catch yourself trying to figure out how do you even do this kind of work? So how do we do it? How do you get our backlog that is on fire? Just as a little addendum, I try to get this kind of scene out of our favourite models to generate an image, and this is what I came up with. So it's pretty true to life, if you ask me. Even the fish eyes and stuff like that. But, you know, as a product team, we are always busy shipping features. At least that's the lie we tell ourselves, right? But we are always forced into thinking of what is the next thing we can ship and how quickly can we ship it? If you work for an open company, we have your stakeholders on top of you, or you're trying to get your company open, and you have your stakeholders on top of you. There is always this kind of time constraint in trying to focus on shipping features. And you're always fighting the clock, so it is very hard to get performance work prioritised because you're always chasing the next thing to ship.

The real question on trying to drive performance is how do you prove value? So, to prove value in this kind of setting is how do you manage to prove that the other overhead of working on performance actually will benefit your both your engineers and your users, right? And how do you set up this governance process? How do you justify the overhead? How do you manage the flow versus friction, both for your engineers and also to get work out in time? How do you get better deliverables out of the work you're getting? Because if you're working on performance, something that is not strictly feature-related, how can you make sure that whatever you ship becomes a better version of your product? Not just from the engineering perspective. And the answer is always data. And although not this guy, the answer is always data. So the data that we're trying to talk is, again, bringing back to the lab and run data.

2. Framing Data and Performance Monitoring

Short description:

You need to frame your data, set up meaningful budgets and realistic goals for lab tooling. Understand both the engineering and product perspectives to deliver an impactful product. Aggregate performance metrics and product metrics together for better insights. Getting better attributions is crucial for good performance monitoring.

So you're trying to bring perspective from your automated tooling, your CICD, but also from your users. But when on a product setting, most important is how you frame that data. So how do you make sure that you... Because we all can set up some instrumentation around our product and grab a lot of data and put it in a dashboard, but how do you make sure that that dashboard is valuable, right? Is used? And how can you take the most out of the data you use?

So let's take a little quick journey into the lab tooling. So let's take a look into Lighthouse. And within your lab tooling, you have to make sure that you've set up your data in terms of good guardrails. So how do you make sure that your data has good guardrails into that? So for the lab tooling, you have to make sure that you have meaningful budgets and realistic goals, and also achievable goals. So your achievable goals is... So you make sure that you ship progressive improvements. So you have quick iterations of your product. And from those quicker iterations, you're gonna ship value faster. So framing your data into a good set of constraints, into good realistic budgets that you can reach. So once you team your lab tooling, once you have that part done, then comes the time of looking to your real user data.

But for the real users, you have to make sure that you understand not only from the engineering perspective, you also understand from the product perspective. Because your application is using different settings in different ways, and you have to understand that you are trying to solve things from two perspectives. You have your engineering team and your product team. And you can guess which one is which from their photo, by the way. But you have to make sure to represent both sides of the story. The engineering and your product. In order to deliver the most impactful version of your product. So how do you get more out of your round data? So in order to get your round data into better shape, you need to make sure that you aggregate your performance metrics and your product metrics together. Because if you only look from one perspective, you will blindside the other. And we all are engineers and we always care about the engineering part of the metrics. But we have to make sure that whatever we are trying to ship is moving the needle within the product side as well. Because if you're trying to get buy-in to work in performance, you need to make sure that that is the goal, the objective you're trying to be. And getting better attributions is one of the best things you can do if you're trying to set up good performance monitoring. So having the metrics on its own is only one part of the story. You have to understand from that metrics, from that monitoring, what kind of problems are surfacing. Because if you just have numbers for the metrics and you don't have good attributions, you don't even know where to start. You just have numbers.

QnA

Check out more articles and videos

We constantly think of articles and videos that might spark Git people interest / skill us up or help building a stellar career

The Future of Performance Tooling
JSNation 2022JSNation 2022
21 min
The Future of Performance Tooling
Top Content
Today's Talk discusses the future of performance tooling, focusing on user-centric, actionable, and contextual approaches. The introduction highlights Adi Osmani's expertise in performance tools and his passion for DevTools features. The Talk explores the integration of user flows into DevTools and Lighthouse, enabling performance measurement and optimization. It also showcases the import/export feature for user flows and the collaboration potential with Lighthouse. The Talk further delves into the use of flows with other tools like web page test and Cypress, offering cross-browser testing capabilities. The actionable aspect emphasizes the importance of metrics like Interaction to Next Paint and Total Blocking Time, as well as the improvements in Lighthouse and performance debugging tools. Lastly, the Talk emphasizes the iterative nature of performance improvement and the user-centric, actionable, and contextual future of performance tooling.
A Framework for Managing Technical Debt
TechLead Conference 2023TechLead Conference 2023
35 min
A Framework for Managing Technical Debt
Top Content
Today's Talk discusses the importance of managing technical debt through refactoring practices, prioritization, and planning. Successful refactoring requires establishing guidelines, maintaining an inventory, and implementing a process. Celebrating success and ensuring resilience are key to building a strong refactoring culture. Visibility, support, and transparent communication are crucial for addressing technical debt effectively. The team's responsibilities, operating style, and availability should be transparent to product managers.
Debugging JS
React Summit 2023React Summit 2023
24 min
Debugging JS
Top Content
Watch video: Debugging JS
Debugging JavaScript is a crucial skill that is often overlooked in the industry. It is important to understand the problem, reproduce the issue, and identify the root cause. Having a variety of debugging tools and techniques, such as console methods and graphical debuggers, is beneficial. Replay is a time-traveling debugger for JavaScript that allows users to record and inspect bugs. It works with Redux, plain React, and even minified code with the help of source maps.
Building a Voice-Enabled AI Assistant With Javascript
JSNation 2023JSNation 2023
21 min
Building a Voice-Enabled AI Assistant With Javascript
Top Content
This Talk discusses building a voice-activated AI assistant using web APIs and JavaScript. It covers using the Web Speech API for speech recognition and the speech synthesis API for text to speech. The speaker demonstrates how to communicate with the Open AI API and handle the response. The Talk also explores enabling speech recognition and addressing the user. The speaker concludes by mentioning the possibility of creating a product out of the project and using Tauri for native desktop-like experiences.
Power Fixing React Performance Woes
React Advanced Conference 2023React Advanced Conference 2023
22 min
Power Fixing React Performance Woes
Top Content
Watch video: Power Fixing React Performance Woes
This Talk discusses various strategies to improve React performance, including lazy loading iframes, analyzing and optimizing bundles, fixing barrel exports and tree shaking, removing dead code, and caching expensive computations. The speaker shares their experience in identifying and addressing performance issues in a real-world application. They also highlight the importance of regularly auditing webpack and bundle analyzers, using tools like Knip to find unused code, and contributing improvements to open source libraries.
A Practical Guide for Migrating to Server Components
React Advanced Conference 2023React Advanced Conference 2023
28 min
A Practical Guide for Migrating to Server Components
Top Content
Watch video: A Practical Guide for Migrating to Server Components
React query version five is live and we'll be discussing the migration process to server components using Next.js and React Query. The process involves planning, preparing, and setting up server components, migrating pages, adding layouts, and moving components to the server. We'll also explore the benefits of server components such as reducing JavaScript shipping, enabling powerful caching, and leveraging the features of the app router. Additionally, we'll cover topics like handling authentication, rendering in server components, and the impact on server load and costs.

Workshops on related topic

Build Modern Applications Using GraphQL and Javascript
Node Congress 2024Node Congress 2024
152 min
Build Modern Applications Using GraphQL and Javascript
Featured Workshop
Emanuel Scirlet
Miguel Henriques
2 authors
Come and learn how you can supercharge your modern and secure applications using GraphQL and Javascript. In this workshop we will build a GraphQL API and we will demonstrate the benefits of the query language for APIs and what use cases that are fit for it. Basic Javascript knowledge required.
Building a Shopify App with React & Node
React Summit Remote Edition 2021React Summit Remote Edition 2021
87 min
Building a Shopify App with React & Node
Top Content
WorkshopFree
Jennifer Gray
Hanna Chen
2 authors
Shopify merchants have a diverse set of needs, and developers have a unique opportunity to meet those needs building apps. Building an app can be tough work but Shopify has created a set of tools and resources to help you build out a seamless app experience as quickly as possible. Get hands on experience building an embedded Shopify app using the Shopify App CLI, Polaris and Shopify App Bridge.We’ll show you how to create an app that accesses information from a development store and can run in your local environment.
Build a chat room with Appwrite and React
JSNation 2022JSNation 2022
41 min
Build a chat room with Appwrite and React
WorkshopFree
Wess Cope
Wess Cope
API's/Backends are difficult and we need websockets. You will be using VS Code as your editor, Parcel.js, Chakra-ui, React, React Icons, and Appwrite. By the end of this workshop, you will have the knowledge to build a real-time app using Appwrite and zero API development. Follow along and you'll have an awesome chat app to show off!
Hard GraphQL Problems at Shopify
GraphQL Galaxy 2021GraphQL Galaxy 2021
164 min
Hard GraphQL Problems at Shopify
WorkshopFree
Rebecca Friedman
Jonathan Baker
Alex Ackerman
Théo Ben Hassen
 Greg MacWilliam
5 authors
At Shopify scale, we solve some pretty hard problems. In this workshop, five different speakers will outline some of the challenges we’ve faced, and how we’ve overcome them.

Table of contents:
1 - The infamous "N+1" problem: Jonathan Baker - Let's talk about what it is, why it is a problem, and how Shopify handles it at scale across several GraphQL APIs.
2 - Contextualizing GraphQL APIs: Alex Ackerman - How and why we decided to use directives. I’ll share what directives are, which directives are available out of the box, and how to create custom directives.
3 - Faster GraphQL queries for mobile clients: Theo Ben Hassen - As your mobile app grows, so will your GraphQL queries. In this talk, I will go over diverse strategies to make your queries faster and more effective.
4 - Building tomorrow’s product today: Greg MacWilliam - How Shopify adopts future features in today’s code.
5 - Managing large APIs effectively: Rebecca Friedman - We have thousands of developers at Shopify. Let’s take a look at how we’re ensuring the quality and consistency of our GraphQL APIs with so many contributors.
0 To Auth In An Hour For Your JavaScript App
JSNation 2023JSNation 2023
57 min
0 To Auth In An Hour For Your JavaScript App
WorkshopFree
Asaf Shen
Asaf Shen
Passwordless authentication may seem complex, but it is simple to add it to any app using the right tool.
We will enhance a full-stack JS application (Node.js backend + Vanilla JS frontend) to authenticate users with One Time Passwords (email) and OAuth, including:
- User authentication – Managing user interactions, returning session / refresh JWTs- Session management and validation – Storing the session securely for subsequent client requests, validating / refreshing sessions
At the end of the workshop, we will also touch on another approach to code authentication using frontend Descope Flows (drag-and-drop workflows), while keeping only session validation in the backend. With this, we will also show how easy it is to enable biometrics and other passwordless authentication methods.