Slow startup performance
See original GitHub issueEnvironment
react-static -v
: 5.9.7node -v
: v10.5.0npm -v
: 6.1.0- Operating system: macos 10.13.4
Steps to Reproduce the problem
- Generate a new site with
react-static create
- Run
time npm start
and wait til it prints outApp serving at
and stop with cmd+c
Expected Behavior
It starts up in a reasonable amount of time… 1s, 5s, 10s.
Instead, it takes 52s for me for this to start up. To be more precise, it takes almost 50s to start the build process:
Is this just my setup? Or is this typical. I suspect babel… compiling node bits or smth? I will try and profile in more detail, but was just wondering if this is a known issue.
Issue Analytics
- State:
- Created 5 years ago
- Comments:8 (6 by maintainers)
Top Results From Across the Web
8 Ways to Fix Slow Boot Times in Windows 10 - MakeUseOf
8 Ways to Fix Slow Boot Times in Windows 10 · 1. Disable Fast Startup · 2. Adjust Paging File Settings · 3....
Read more >How to Fix Slow Startup on Windows 10 | SoftwareKeep
Turn on fast startup (recommended)” option and click ; Save changes. You can try and restart your computer to see whether or not...
Read more >Fix the Windows 10 Slow Boot Issue: 9 Easy Solutions
How can I fix a slow boot time in Windows 10? · 1. Use the Windows 10 Startup Manager · 2. Update your...
Read more >Solved: Windows 10/11 Slow Boot - Driver Easy
How do I fix Windows 10 slow boot? · Disable Fast Startup · Disable Processes with High Startup Impact · Update your graphics...
Read more >What to Do if My Windows Computer Starts Slow
Programs that load as the computer starts up remain active in its memory. Consequently, they are one of the main causes of a...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
I think it’s this issue… https://github.com/babel/babel/issues/5667
I don’t have babel.json in my end on windows 7 and node 12 with react-static, i have .cache directory on node module. But yet 45seconds for starting and 30seconds for editing saving in my end. Really stressed for this. how can optimize this for less than 3~4seconds for developing well?
I already tried to follow this https://github.com/babel/babel/issues/5667 But nothing good for now.