This is a basic Angular app that exemplifies the ability to add custom tracks to the Chrome DevTools Performance Panel using the extensibility API.
In this example, the code triggers arbitrary tasks that are run when the button is clicked. The tasks are measured and registered to the browser and for each measurement, a name, description, color and track are included to customize the way and place the measurements will be displayed in the Performance Panel timeline.
The tasks are run and measured in the corgi component in
the injectTimingsToBrowser function.
Clone this repo and run yarn install && yarn start.
Or try the live version available at https://corgi-collage.vercel.app/.
You need to run a Chrome version equal to or higher than 128.
Note: to trigger the measured tasks you need to add a corgi to the collage using the "Add new Corgi" button.
