Skip to content
This repository has been archived by the owner on Sep 11, 2020. It is now read-only.

plumbing: format/packfile, performance optimizations for reading large commit histories #963

Merged
merged 12 commits into from
Nov 28, 2018

Commits on Nov 26, 2018

  1. Avoid unnecessary seek calls that are determining offsets that are al…

    …ready known or about to be thrown away anyway.
    
    Signed-off-by: Filip Navara <[email protected]>
    filipnavara committed Nov 26, 2018
    Configuration menu
    Copy the full SHA
    640029c View commit details
    Browse the repository at this point in the history
  2. Fix bufferedSeeker.Seek for SeekCurrent and non-zero offset.

    Signed-off-by: Filip Navara <[email protected]>
    filipnavara committed Nov 26, 2018
    Configuration menu
    Copy the full SHA
    a78415e View commit details
    Browse the repository at this point in the history
  3. Add loose object cache.

    Signed-off-by: Filip Navara <[email protected]>
    filipnavara committed Nov 26, 2018
    Configuration menu
    Copy the full SHA
    b606141 View commit details
    Browse the repository at this point in the history
  4. Search packfile indexes first if we already loaded them.

    Signed-off-by: Filip Navara <[email protected]>
    filipnavara committed Nov 26, 2018
    Configuration menu
    Copy the full SHA
    25d2f13 View commit details
    Browse the repository at this point in the history
  5. Improve performace for reading many small objects from packfile by le…

    …tting the I/O buffers be used better.
    
    Signed-off-by: Filip Navara <[email protected]>
    filipnavara committed Nov 26, 2018
    Configuration menu
    Copy the full SHA
    4a21431 View commit details
    Browse the repository at this point in the history
  6. Fix infinite recursion in FSObject.

    Signed-off-by: Filip Navara <[email protected]>
    filipnavara committed Nov 26, 2018
    Configuration menu
    Copy the full SHA
    72e361d View commit details
    Browse the repository at this point in the history
  7. Remove a cachePut that was adding FSObject to cache, which triggered …

    …out-of-memory errors. This code path was never previously triggered for filesystem-based storage.
    
    Signed-off-by: Filip Navara <[email protected]>
    filipnavara committed Nov 26, 2018
    Configuration menu
    Copy the full SHA
    5e5b9b3 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    3437532 View commit details
    Browse the repository at this point in the history
  9. Add smallObjectThreshold constant instead of magic number.

    Signed-off-by: Filip Navara <[email protected]>
    filipnavara committed Nov 26, 2018
    Configuration menu
    Copy the full SHA
    344fc95 View commit details
    Browse the repository at this point in the history
  10. Add simple tests for SeekObjectHeader.

    Signed-off-by: Filip Navara <[email protected]>
    filipnavara committed Nov 26, 2018
    Configuration menu
    Copy the full SHA
    dd7c3e2 View commit details
    Browse the repository at this point in the history
  11. Fix build after rebase.

    Signed-off-by: Filip Navara <[email protected]>
    filipnavara committed Nov 26, 2018
    Configuration menu
    Copy the full SHA
    4cb21e2 View commit details
    Browse the repository at this point in the history
  12. Do not treat delta references as small objects that can be eagerly lo…

    …aded.
    
    Signed-off-by: Filip Navara <[email protected]>
    filipnavara committed Nov 26, 2018
    Configuration menu
    Copy the full SHA
    3c36f7a View commit details
    Browse the repository at this point in the history