1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-11 01:12:41 +01:00
phorge-phorge/src/applications/cache
epriestley 4b39fbe115 Allow modern hunks to be stored deflated
Summary: Ref T4045. Ref T5179. When saving a modern hunk, deflate it if we have the function and deflating it will save a nontrivial number of bytes.

Test Plan:
  - Used `bin/hunks migrate` to move some hunks over, saw ~70-80% compression on most standard hunks.
  - Viewed changesets using compressed hunks.
  - Profiled `gzinflate()` and verified the cost is trivial (<< 1ms) at least for normal diffs.

Reviewers: btrahan

Reviewed By: btrahan

Subscribers: epriestley

Maniphest Tasks: T4045, T5179

Differential Revision: https://secure.phabricator.com/D9292
2014-06-03 18:01:24 -07:00
..
garbagecollector Complete modularization of the GC daemon 2014-01-15 10:02:31 -08:00
management Make all bin/* scripts locate their workflows dynamically 2013-12-27 13:15:48 -08:00
storage Minor, mark SERIALIZATION_PHP fields as BINARY in Lisk 2014-02-23 16:35:51 -08:00
PhabricatorCaches.php Allow modern hunks to be stored deflated 2014-06-03 18:01:24 -07:00
PhabricatorKeyValueDatabaseCache.php Allow modern hunks to be stored deflated 2014-06-03 18:01:24 -07:00