atlassian-labs/storybook-addon-performance

Usage recommendation: dev server vs static build

sheelah opened this issue ยท 4 comments

Thanks for creating this awesome add-on! ๐Ÿ™Œ๐Ÿป

Question on recommended usage: is this designed to be run only off a static Storybook build, so that the production version of React is used? The React docs recommend doing perf benchmarking when using the minified prod build (not the dev server) so I'm wondering if that applies here too. Thanks for any insight.

Yes it's recommended to use a production build, although it does work with a dev build. You'll see less variability with production.

Thank you @DarkPurple141! If the team would like, I'm happy to submit a PR adding a note about this to the documentation.

That would be great, please submit one and I'll triage it through.

PR for this: #98