Repository navigation
The need for not being too slow - #1281
Merged
Merged
Conversation
iAmWillShepherd
approved these changes
Apr 24, 2017
iAmWillShepherd
left a comment
Contributor
There was a problem hiding this comment.
Looks good to me 👍
|
I'm glad you found that you could load individual plugins before giving up on Octokat! I noticed desktop has fixture files for Git. octokit.rb uses vcr/vcr for recording HTTP responses for unit tests instead of manually maintaining Mock responses; philschatz/fetch-vcr does that for I'm in the middle of cleaning up the plugins and switching to use the fetch API directly in case that might be useful. |
Contributor
Author
|
That's great news @philschatz! We've found Octokat's error handling a bit rough (#1522) but switching to fetch should help address that. |
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
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
I noticed some performance problems with github/github when working on #1263. This addresses some of that low-hanging fruit:
This was 4-10x the amount of time spent in React. Happily Octokat.js lets us exclude the plugins we don't need. This also fixes #1048 by opting out of Octokat's cache handling.
There's still some low-hanging fruit around making components pure, but with these changes the app feels fast again.