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.

Why Pull operations is so Slow?

See original GitHub issue

Hi all, I’m new and I’m developing using this library. I have some problem with pull operations. This is my code:

 Debug.Write("Pulling branch. . .");
            LibGit2Sharp.PullOptions options = new LibGit2Sharp.PullOptions();
            options.FetchOptions = new FetchOptions();
            options.FetchOptions.CredentialsProvider = new CredentialsHandler(
                (url, usernameFromUrl, types) =>
                    new UsernamePasswordCredentials()
                    {
                        Username = this.Username,
                        Password = this.Password
                    });
            Signature author = new Signature(this.Username, this.EmailUser, DateTime.Now);
            Commands.Pull(Repo, author, options);
            Debug.Write("Pulling done.");

I don’t uderstand why Pulling ONE FILE (txt 1kb) is so SLOW. Is there anyone help me?

Issue Analytics

  • State:open
  • Created 6 years ago
  • Comments:17 (8 by maintainers)

github_iconTop GitHub Comments

1reaction
Stellaccicommented, Jan 11, 2018

With “GitExtension” tool. But this does not explain why the pull in Libgit2sharp is slow

1reaction
Stellaccicommented, Jan 11, 2018

@carlosmn Do you have some idea about my problem?

Read more comments on GitHub >

github_iconTop Results From Across the Web

Git pull is very slow... Why?
I suspect some recent operations may cause this: recently, I've accidentally added many vendor assets ( bower_components assets) when I realized ...
Read more >
Git is extremely slow on Windows
I'm not sure what have been changed, but my Git installation started to be extremely slow on an average-sized repository.
Read more >
php - Debug slow "git pull" operation executed by the Local ...
When the Apache2 service runs under the Local System account, the exec("git pull") in PHP is extremely slow, and sometimes never completes. When ......
Read more >
Slow git pulls
I am working on a Wordpress theme and it is very nearly done (just a few more hours!) I am using git /...
Read more >
Slow SSH clone/pull/push - Bitbucket
I'm using GIT through "Bash on Ubuntu on Windows" and if I clone using HTTPS there's no problem, however, with SSH it takes...
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