Snapshots take exceedingly long #703
-
The problemWe're running into a scenario where snapshots take exceedingly long to generate. The first few are generate in 7ms or so, then it takes 500ms, then 3000ms, 12000ms, and finally 200000ms. We're snapshotting a number of super simple React components in Storybook and I cannot see anything that could cause this and am a bit lost. Clearly something is leaking in some way and the cost of that is adding up exponentially somehow. I don't know whether this is a known bug? I'm attaching the Storybook build we're using as well as the Percy log (I canceled at some point) Environment
Details– Debug logsyarn percy --debug yarn run v1.22.19 $ yarn workspace @gravityci/dashboard percy --debug $ percy storybook ./storybook-static --debug[percy] A new version of @percy/cli is available! 1.17.0 -> 1.19.1-alpha.0 [percy:config] Found config file: .percy.js (883ms) Code to reproduce issueWe're running |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
Hey @marcoow 👋
|
Beta Was this translation helpful? Give feedback.
-
@marcoow I see some infinite recursion in storybook rendering process; its coming from a On searching Github in context of storybook, I see this is part of the pseudo states addon. |
Beta Was this translation helpful? Give feedback.
@marcoow I see some infinite recursion in storybook rendering process; its coming from a
rewriteStylesheet
functionOn searching Github in context of storybook, I see this is part of the pseudo states addon.
Are you using pseudo state addon? If yes can you try running a build after removing it?