Skip to content
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

High CPU Load #595

Closed
HashDot opened this issue Nov 2, 2016 · 5 comments
Closed

High CPU Load #595

HashDot opened this issue Nov 2, 2016 · 5 comments

Comments

@HashDot
Copy link

HashDot commented Nov 2, 2016

Hi folks,

why does react-storybook consume so much cpu load? I have an other project with react, hmr and the fancy stuff. If the Webpack process done, I have 0-1% cpu load. react-storybook consumed over 80%, all the time.

Is it possible to fix this?

@arunoda
Copy link
Member

arunoda commented Nov 2, 2016

@HashDot that's something to investigate. Let's check.

@arunoda
Copy link
Member

arunoda commented Nov 2, 2016

That's pretty weird.
I can't see something that with the latest storybook.
Are you using a custom webpack config?

Can we have a way to reproduce this locally.

@HashDot
Copy link
Author

HashDot commented Nov 2, 2016

I use storybook in a meteor project. I doesn't have a custom webpack config but I use some babel modules. For testing I removed all my components and custom stuff, the CPU load decreases slightly to ~50/60%.

I try to create a new project without meteor and check the cpu load.

Btw. I use macOS El Capitan 10.11.6 and react-storybook 2.27.0

@arunoda
Copy link
Member

arunoda commented Nov 2, 2016

I think this CPU load is due to Meteor's devtool. Not something related Storybook.
Are you 100% sure, is that storybook node process causing the issue?

Check it with Activity Monitor or top/ps

@HashDot
Copy link
Author

HashDot commented Nov 2, 2016

Meteor isn't running. I created a new meteor project with the same dependencies. Now, the CPU is at 0-1%. I don't know why. I try to provide a CPU Profile, if I find some time for it. It is not a Storybook bug. Thanks for your help and patience.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants