FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Optionally retrieve more data on commit walk by implausible · Pull Request #1728 · nodegit/nodegit · GitHub

Optionally retrieve more data on commit walk - #1728

Merged
implausible merged 2 commits into
nodegit:masterfrom
implausible:feature/commit-walk-commit-models
Sep 26, 2019
Merged

Optionally retrieve more data on commit walk#1728
implausible merged 2 commits into
nodegit:masterfrom
implausible:feature/commit-walk-commit-models

Conversation

Copy link
Copy Markdown
Member

We do this exact routine in GitKraken every time we need to get commits from libgit2. Considering that commit.getSignature is async, we waste a ton of time in processing callbacks for our commits there. This will retrieve all of the data we need in bulk, and ship that back in a neater package.

Comment thread lib/reference.js Outdated
implausible force-pushed the feature/commit-walk-commit-models branch 2 times, most recently from ff67f6e to 796c589 Compare September 26, 2019 15:06
implausible force-pushed the feature/commit-walk-commit-models branch from 796c589 to 6ecd368 Compare September 26, 2019 15:19

ianhattendorf left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

Awesome. A few variables can be const and a few casts can be narrowed, but everything else looks good. Much faster than before.

This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
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

Successfully merging this pull request may close these issues.

3 participants


Back | FazBrowse Home | New Git URL