Page MenuHomePhabricator

Allow modern hunks to be stored deflated
ClosedPublic

Authored by epriestley on May 25 2014, 6:50 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sat, Apr 20, 6:57 PM
Unknown Object (File)
Sat, Apr 20, 1:01 PM
Unknown Object (File)
Thu, Apr 18, 8:01 PM
Unknown Object (File)
Wed, Apr 17, 3:14 PM
Unknown Object (File)
Fri, Apr 12, 11:33 PM
Unknown Object (File)
Fri, Apr 12, 8:01 AM
Unknown Object (File)
Sat, Apr 6, 4:40 PM
Unknown Object (File)
Mon, Apr 1, 1:40 AM
Subscribers

Details

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.

Diff Detail

Repository
rP Phabricator
Branch
hunk7
Lint
Lint Passed
Unit
Tests Passed
Build Status
Buildable 702
Build 702: [Placeholder Plan] Wait for 30 Seconds

Event Timeline

epriestley retitled this revision from to Allow modern hunks to be stored deflated.
epriestley updated this object.
epriestley edited the test plan for this revision. (Show Details)
epriestley added a reviewer: btrahan.
btrahan edited edge metadata.
This revision is now accepted and ready to land.Jun 3 2014, 10:12 PM
epriestley updated this revision to Diff 22331.

Closed by commit rP4b39fbe1155e (authored by @epriestley).