-
-
Notifications
You must be signed in to change notification settings - Fork 9.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Stringifying events takes a long time (in actions addon) #5551
Comments
Probably stringifying the event object? @ndelangen ? |
Maybe not relevant, but it seems that channel can not broadcast |
Indeed, I noticed this as well. Something is not right in the serialization, it used to work really fast :( |
I added a link to one of our stories in the description |
This is really a bug in |
I'm on it |
Fixed |
Hurrah!! I just released https://github.com/storybooks/storybook/releases/tag/v5.0.0-rc.6 containing PR #5751 that references this issue. Upgrade today to try it out! Because it's a pre-release you can find it on the |
This issue is still apparent to us, even after upgrading the storybook to 5.1.9 . Only adding That's how it looks like for us: Without the Probably because |
Just chiming in to say that I'm experiencing this on |
Thanks @tw15egan. This was fixed in 5.2.0-alpha.36. I'll patch the fix into |
Awesome! Thanks for the quick response 👍 |
Mhm, FYI we had just had updated to 5.1.10 and the issue still persists. |
@ndelangen #7256 went out in |
Can confirm we'll still seeing a big performance hit |
Still seeing this issue in 5.2.3 |
Hi everyone! Seems like there hasn't been much going on in this issue lately. If there are still questions, comments, or bugs, please feel free to continue the discussion. Unfortunately, we don't have time to get to every issue. We are always open to contributions so please send us a pull request if you would like to help. Inactive issues will be closed after 30 days. Thanks! |
Still seeing this issue in Storybook 5.3.17. Is changing the depth value still the only solution? |
We want to address this in 6.3. If you want to contribute to Storybook, we'll prioritize PR review for any fixes here. And if you'd like any help getting started, please jump into the #support channel on our Discord: https://discord.gg/storybook |
Describe the bug
Action addon took surprisingly long time to response (freeze the screen >4 sec).
To Reproduce
Steps to reproduce the behavior:
action
addon function.An example from
official-storybook
: http://localhost:9011/?path=/story/basics-link--no-cancel-w-onclickExpected behavior
A instantaneous response <150ms.
Screenshots
A bit profiling here, I'm render my story into standalone iFrame mode. This profiling shows the complicated string operation happened down to the message channel:
Code snippets
If applicable, add code samples to help explain your problem.
System:
Additional context
The component is a pure material-ui button. I thought my custom addons have some role on this but I still have faced this issue even I only have 1 story and no other addon at all...
The text was updated successfully, but these errors were encountered: