Github Turbo PR

Github Turbo PR

An extension to optimize github for handling big pull request. 🚀

Github Turbo PR
What is Github Turbo PR?
Github Turbo PR is a Chrome extension that optimizes Github pull request pages for handling large PRs. It makes the page more responsive by detaching file diffs that are not visible and reattaching them when they are needed. This improves performance and allows reviewers to spend less time reviewing code and more time enjoying a refreshing drink.
Stats
Users: 86 ▼ -8
Version: 0.2.1 (Last updated: 2018-04-09)
Creation date: 2018-04-08
Risk impact: Moderate risk impact
Risk likelihood: Low risk likelihood
Manifest version: 2
Permissions:
  • https://github.com/*
  • webNavigation
Size: 38.52K
Stats date:

Other platforms

Not available on Firefox
Not available on Edge
Want to check extension ranking and stats more quickly for other Chrome extensions? Install Chrome-Stats extension to view Chrome-Stats data as you browse the Chrome Web Store.
Chrome-Stats extension
Summary

Github pull request page gets unresponsive on a big PR and makes it very hard to review. This extension optimize the page to make it more responsive so that you spend less time reviewing code and more time drinking beer 🍻.

Usage

For non Pull Request page the extension will be inactive. On a PR compare page it will get active but by default it will be disabled. If you feel your page is getting slow on a big PR you can click and enable it. You can toggle it back if you want.

How does it optimize?

It applies a simple trick by detaching file diffs which are not visible and reattach them when they are about to come on viewport. Less DOM nodes in a DOM Tree, more performant the page it. And it does it performantly using Intersection Observer API https://developer.mozilla.org/en-US/docs/Web/API/Intersection_Observer_API.

Known caveats.

  • As for optimization it detaches file diff from the page, browser find will not work as expected. Though you can search with a file name but not the content.
  • Count in Review changes gets incorrect, but actually it does not affect any review comments. So don't get scared if number shows wrong.
Safety
Risk impact

Github Turbo PR may not be safe to use and it requires some risky permissions. Exercise caution when installing this extension. Review carefully before installing.

Risk likelihood

Github Turbo PR has earned a fairly good reputation and likely can be trusted.

Upgrade to see risk analysis details
Promo images
Github Turbo PR small promo image
Small promo image
Similar extensions

Here are some Chrome extensions that are similar to Github Turbo PR: