docker / for-mac

Bug reports for Docker Desktop for Mac
https://www.docker.com/products/docker#/mac
2.44k stars 117 forks source link

vim search performance degrades significantly over time #4638

Open tgree opened 4 years ago

tgree commented 4 years ago

Expected behavior

Opening a multi-page source file and then searching using the standard vim slash '/' command should be responsive.

Actual behavior

Opening a multi-page source file and searching becomes very slow over time. For instance, just holding down the 'a' key to search for '/aaaaaaaaaaaa' shows extreme lag. This lag is not present right after restarting Docker for Mac, but seems to appear over time.

Information

Diagnostic logs

Docker for Mac: version...

I don't see a "Diagnose & Feedback" entry, but I am on version 2.3.0.3 (45519) stable.

Steps to reproduce the behavior

  1. Untar the attached docker.tar.gz which includes a Dockerfile and support files.
  2. Build it: docker build --build-arg username=YOUR_NAME --build-arg name='FIRST_NAME LAST_NAME' --build-arg email=YOUR@EMAIL -t arm_dev_environment .
  3. Run it: docker run --cap-add=SYS_PTRACE --security-opt seccomp=unconfined --tmpfs /tmp:rw,size=2G,mode=1777 -ti arm_dev_environment
  4. Open some C/C++ source file of your choice in vim.
  5. Do a search using '/'. Note that it is responsive.
  6. Come back in 24 hours and do the search again. Note that it lags hard.

docker.tar.gz

docker-robott commented 4 years ago

Issues go stale after 90 days of inactivity. Mark the issue as fresh with /remove-lifecycle stale comment. Stale issues will be closed after an additional 30 days of inactivity.

Prevent issues from auto-closing with an /lifecycle frozen comment.

If this issue is safe to close now please do so.

Send feedback to Docker Community Slack channels #docker-for-mac or #docker-for-windows. /lifecycle stale

tgree commented 4 years ago

/remove-lifecycle stale

tgree commented 3 years ago

Still seeing this issue on the latest Docker for Mac release 2.5.0.1 (49550).

docker-robott commented 3 years ago

Issues go stale after 90 days of inactivity. Mark the issue as fresh with /remove-lifecycle stale comment. Stale issues will be closed after an additional 30 days of inactivity.

Prevent issues from auto-closing with an /lifecycle frozen comment.

If this issue is safe to close now please do so.

Send feedback to Docker Community Slack channels #docker-for-mac or #docker-for-windows. /lifecycle stale

tgree commented 3 years ago

/remove-lifecycle stale

tgree commented 3 years ago

Still seeing this in release 3.2.1 and macOS 10.15.7. You guys really buggered something up with the terminal support somewhere around 2.3.

docker-robott commented 3 years ago

Issues go stale after 90 days of inactivity. Mark the issue as fresh with /remove-lifecycle stale comment. Stale issues will be closed after an additional 30 days of inactivity.

Prevent issues from auto-closing with an /lifecycle frozen comment.

If this issue is safe to close now please do so.

Send feedback to Docker Community Slack channels #docker-for-mac or #docker-for-windows. /lifecycle stale

tgree commented 3 years ago

/remove-lifecycle stale

docker-robott commented 3 years ago

Issues go stale after 90 days of inactivity. Mark the issue as fresh with /remove-lifecycle stale comment. Stale issues will be closed after an additional 30 days of inactivity.

Prevent issues from auto-closing with an /lifecycle frozen comment.

If this issue is safe to close now please do so.

Send feedback to Docker Community Slack channels #docker-for-mac or #docker-for-windows. /lifecycle stale

tgree commented 3 years ago

/remove-lifecycle stale

tgree commented 3 years ago

/lifecycle frozen

tgree commented 3 years ago

This is still true as of version 3.3.3 (64133). Not sure how to update the label.