HomePhabricator

Improve Diffusion browse performance for large files

Description

Improve Diffusion browse performance for large files

Summary:
When looking at a large file in Diffusion:

  • disable highlighting if it's huge and show a note about why;
  • pick up a few other optimizations.

Test Plan: Locally, this improves the main render of __phutil_library_map__.php from 3,200ms to 600ms for me, at the cost of syntax highlighting (we can eventually add view options and let users re-enable it).

Reviewers: chad

Reviewed By: chad

Differential Revision: https://secure.phabricator.com/D14959

Details

Provenance
epriestleyAuthored on
epriestleyPushed on Jan 6 2016, 5:24 PM
Reviewer
chad
Differential Revision
D14959: Improve Diffusion browse performance for large files
Parents
rP9728c65e9358: Drive blame generation through `diffusion.blame`
Branches
Unknown
Tags
Unknown
Build Status
Buildable 9966
Build 12038: Run Core Tests