Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There are two very nice things about having a CLI -- first, we can use it in anger, and understand some of the pain points, especially around performance. And second, we can use standard utilities against it -- things like hyperfine.
We know that we're deficient in a lot of areas, but being able to actually measure that is important.
This introduces a wrapper script around hyperfine that will set up test environments (much like clar) using our existing test resources. It also includes some handy cross-platform functions for things like clearing the disk cache.
There are only very simplistic examples there now - exercising the
hash-object
andcat-file
commands that we have in the CLI. But I think that this will be very useful as we add clone.