Homec4science

Allow modern hunks to be stored deflated

Authored by epriestley <git@epriestley.com> on May 25 2014, 20:41.

Description

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

Details

Committed
epriestley <git@epriestley.com>Jun 4 2014, 03:01
Pushed
aubortJan 31 2017, 17:16
Parents
rPH5b1262c98b8f: Add a `bin/hunks` script to manage migrations of hunk data
Branches
Unknown
Tags
Unknown

Event Timeline

epriestley <git@epriestley.com> committed rPH4b39fbe1155e: Allow modern hunks to be stored deflated (authored by epriestley <git@epriestley.com>).Jun 4 2014, 03:01