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.

Slow startup performance

See original GitHub issue

Environment

  1. react-static -v: 5.9.7
  2. node -v: v10.5.0
  3. npm -v: 6.1.0
  4. Operating system: macos 10.13.4

Steps to Reproduce the problem

  1. Generate a new site with react-static create
  2. Run time npm start and wait til it prints out App 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: image

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:closed
  • Created 5 years ago
  • Comments:8 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
KidkAroliscommented, Jul 10, 2018

I think it’s this issue… https://github.com/babel/babel/issues/5667

0reactions
solutionprovider9174commented, Jan 5, 2022

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.

Read more comments on GitHub >

github_iconTop 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 >

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