question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Much higher CPU usage when moving from 5.1.X to 5.2.X on idle storybook

See original GitHub issue

I have a create-react-app (all packages to latest version) with 20-40 stories. When npm run storybook has finished and is simply running to monitor file changes, process node on 5.1.X idles at 2.5% but on 5.2.X idles at 30%.

System:

  System:
    OS: Linux 4.4 Ubuntu 16.04.5 LTS (Xenial Xerus)
    CPU: (2) x64 AMD FX(tm)-6300 Six-Core Processor
  Binaries:
    Node: 10.15.3 - /usr/bin/node
    Yarn: 1.15.2 - /usr/bin/yarn
    npm: 6.11.2 - /usr/bin/npm
  npmPackages:
    @storybook/addon-actions: 5.1.x => 5.1.11
    @storybook/addon-centered: 5.1.x => 5.1.11
    @storybook/addon-knobs: 5.1.x => 5.1.11
    @storybook/addons: 5.1.x => 5.1.11
    @storybook/react: 5.1.x => 5.1.11
  npmGlobalPackages:
    @storybook/cli: 4.0.9

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:17 (9 by maintainers)

github_iconTop GitHub Comments

2reactions
cherouvimcommented, Nov 1, 2019

I’m glad I helped. The medal goes to my slow workstation which allowed me to spot this issue in the first place 😃

1reaction
shilmancommented, Oct 31, 2019

@cherouvim you are a hero 🥇

@ndelangen how much do you want to bet it’s this change: https://github.com/storybookjs/storybook/pull/6265

UPDATE: confirmed in official-storybook

Read more comments on GitHub >

github_iconTop Results From Across the Web

Xcode 4.3.2 and 100% CPU constantly in the idle time
The usage of RAM is relatively normal (300-50MB). My machine uses: Core 2 Duo 3.04Ghz CPU, 8GB of RAM and Vertex OCZ 3...
Read more >
High CPU usage kernel_task with 2 monitors - Apple Developer
Hello guys! Anyone out there with high CPU usage issues by kernel_task when you have two monitors connected by Thunderbolt? CPU usage at...
Read more >
Operating Systems: CPU Scheduling
A scheduling system allows one process to use the CPU while another is waiting for I/O, thereby making full use of otherwise lost...
Read more >
Performance Best Practices for VMware vSphere 5.1
Hardware-Assisted CPU Virtualization (VT-x and AMD-V™) 9 ... This section provides guidance regarding CPUs for use with vSphere 5.1. General CPU ...
Read more >
Linux perf Examples - Brendan Gregg
Usage 4.7. Usage Examples 4.8. Special Usage, 5. Events 5.1. ... on some older kernel versions (Linux 3.x): perf hits 100% CPU and...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found