Page MenuHomePhabricator

Allow modern hunks to be stored deflated
ClosedPublic

Authored by epriestley on May 25 2014, 6:50 PM.
Tags
None
Referenced Files
F18111523: D9292.id.diff
Tue, Aug 12, 11:07 AM
F18096563: D9292.id22331.diff
Fri, Aug 8, 7:43 AM
F18044948: D9292.id22059.diff
Sun, Aug 3, 8:08 AM
F17923437: D9292.id.diff
Wed, Jul 30, 8:12 AM
F17916532: D9292.diff
Tue, Jul 29, 10:18 PM
F17629635: D9292.id22331.diff
Jul 10 2025, 9:13 AM
Unknown Object (File)
Jun 28 2025, 9:36 PM
Unknown Object (File)
Jun 9 2025, 2:20 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
Lint
Lint Skipped
Unit
Tests Skipped

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).