8000 Cache more files in the filesystem when reading a pack file by samoht · Pull Request #163 · mirage/ocaml-git · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Cache more files in the filesystem when reading a pack file #163

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Oct 4, 2016

Conversation

samoht
Copy link
Member
@samoht samoht commented Oct 4, 2016

This speeds-up reads in a big pack file. Related to moby/datakit#287

On one example where where I have 2 pack files and:

$ du -h .git/objects/pack/
592M    .git/objects/pack/

the full application start-time passed from:

real    3m41.018s
user    0m2.101s
sys     0m1.614s

to

real    0m46.003s
user    0m1.566s
sys     0m1.284s

@samoht samoht changed the title Cache more files in the filesystems when reading a pack file Cache more files in the filesystems when reading in a pack file Oct 4, 2016
@samoht samoht changed the title Cache more files in the filesystems when reading in a pack file Cache more files in the filesystem when reading in a pack file Oct 4, 2016
@samoht samoht changed the title Cache more files in the filesystem when reading in a pack file Cache more files in the filesystem when reading a pack file Oct 4, 2016
@samoht samoht merged commit e390408 into mirage:master Oct 4, 2016
@samoht samoht deleted the cache branch October 4, 2016 17:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant
0