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

Strange performance issue after 5 second idle #1227

Closed
jeff-h opened this issue Nov 6, 2017 · 3 comments
Closed

Strange performance issue after 5 second idle #1227

jeff-h opened this issue Nov 6, 2017 · 3 comments
Labels

Comments

@jeff-h
Copy link
Contributor

jeff-h commented Nov 6, 2017

Info:

  • Docker version: Docker version 17.09.0-ce, build afdb6d4
  • Laradock commit: d349c20ff5cfe004c429bdc404fdacd9c123b591
  • System info: MacBook Pro i5 / 8GB RAM
  • System info: macOS High Sierra 10.13

I'm using Laradock's built-in support for docker-sync, and I'm also using xdebug, in case that's relevant.

Issue:

My site's first page load is slow (on this heavy Drupal site, 11 seconds). Subsequent page loads are fast — around 1.6 seconds (very impressive, I think, for this site). If I reload over and over, I get the fast speed very consistently.

However — if I wait for 5 or more seconds before reloading, the page load reverts to the slow 11 seconds time, just once. Quick reloads after that are back to the fast speed. Any time I leave it longer than 5 seconds (which basically is almost always, during development) I get the slow load time.

My colleague's MacBook Pro 15 gets much faster page loads than my Mac, but he also sees about a 20% slowdown on any page load after a 5 second idle time.


Expected behavior:

I'd expect it to be slow when warming up caches, I guess, but after that, fast all the time.


@jeff-h jeff-h changed the title Strange performance issue after 5 second pause Strange performance issue after 5 second idle Nov 6, 2017
@mgralikowski
Copy link

Hi,

Same issue but this time with Windows 10. First load about 10 second, next about 1 sec. I hear my CPU during loading after longer break. I have also installed PHPMyAdmin and it works super fast. The problem is only with site (nginx) and after longer break (~3 minutes).

screenshot_3

@stale
Copy link

stale bot commented Feb 2, 2020

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the Stale label Feb 2, 2020
@stale
Copy link

stale bot commented Feb 23, 2020

Hi again 👋 we would like to inform you that this issue has been automatically closed 🔒 because it had not recent activity during the stale period. We really really appreciate your contributions, and looking forward for more in the future 🎈.

@stale stale bot closed this as completed Feb 23, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants