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

conflict-marker is slow on large files #3

Open
haifengkao opened this issue Oct 4, 2016 · 3 comments
Open

conflict-marker is slow on large files #3

haifengkao opened this issue Oct 4, 2016 · 3 comments

Comments

@haifengkao
Copy link

It takes about a second to init conflict-marker with large files

Steps to Reproduce

  1. download the 10MB json file https://raw.githubusercontent.com/Fngi/taipower_MAPS/gh-pages/result.json
  2. open it with nvim result.json --startuptime vim.log
  3. check the vim.log

2016-10-04 6 23 19

Related

rhysd/NyaoVim#89

LOL, I didn't know you are the conlict-marker's author

@rhysd
Copy link
Owner

rhysd commented Oct 4, 2016

From your screenshot, conflict-marker.vim looks to take only 0.096s.

@haifengkao
Copy link
Author

You are right. Most of the time is spent on opening buffers.
However, the presence of conflict-marker.vim have great impact on the time spent on opening buffer.
Below the startup log when conflict-marker.vim is installed:
2016-10-05 9 46 06
After I removed it:
2016-10-05 9 44 36

@rhysd
Copy link
Owner

rhysd commented Oct 5, 2016

Hmm, I need to check

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants