Skip to content

Try using shasum/awk for comparing hashes of PaketRestoreCacheFile and PaketLockFilePath for speed boost on osx and linux - #2870

Merged
forki merged 1 commit into
fsprojects:masterfrom
TheAngryByrd:2796-PaketRestoreLockFileHash-PaketRestoreCachedHash
Nov 7, 2017
Merged

forki merged 1 commit into
fsprojects:masterfrom
TheAngryByrd:2796-PaketRestoreLockFileHash-PaketRestoreCachedHash

Conversation

@TheAngryByrd

Copy link
Copy Markdown
Contributor

This closes #2796 . This attempts to use the systems hashing programs in preference to reading in the whole paket lock file. For reasons unknown the ReadAllText can perform poorly on osx/linux.

In experiments on some of my builds this can shave off minutes.

Let me know if this seems reasonable.

…d PaketLockFilePath for speed boost on osx and linux
@forki

forki commented Oct 28, 2017

Copy link
Copy Markdown
Member

@matthid?

@forki
forki merged commit 7eb7d29 into fsprojects:master Nov 7, 2017
@matthid matthid mentioned this pull request Jul 1, 2019
2 tasks done
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.

PaketRestoreLockFileHash = PaketRestoreCachedHash slow

2 participants