mi6 / ic-ui-kit

Intelligence Community UI Kit (based on StencilJS)
MIT License
25 stars 25 forks source link

Install Storybook performance add-on #2087

Closed MI6-286 closed 2 months ago

MI6-286 commented 3 months ago

Summary

As part of the exploration into how we can performance test ICDS components, the Storybook performance add-on should be installed.

💬 Description

This task is to install the Storybook performance add-on and test the implementation against existing React stories - https://storybook.js.org/addons/storybook-addon-performance

Why do we need it?

To try using the performance add-on to check and debug performance of React components and hence help determine how we carry out performance testing of ICDS components.

MI6-255 commented 3 months ago

If this doesn't give us what we need, we can go down the route of exploring what @MI6-286 and @jd239 have been working on with rendering a page with the components on and using Lighthouse.

evenstensberg commented 3 months ago

Some more docs about the addon

MI6-255 commented 2 months ago

If time, just do one example

MI6-255 commented 2 months ago

React only Storybook