Tools for recursively computing and indexing directory hashes.
It is based on git's tree object structure.
build index
$ mtl local build
Written HEAD: 80bef6537f9c4f9d
print tree
$ mtl print-tree --type tree --max-depth 1
tree 80bef6537f9c4f9d .
tree 757dfd8c7ed0c1b6 benches/
tree d68f7fd0eec160a2 src/
tree 47d8072d2b99a537 tools/
Please read the atmosphere from help for more information.
$ cargo install --git https://github.com/imishinist/mtl
$ ./tools/compare-performance.sh <dir> <revision> <revision> [hyperfine options]
example
$ mtl tool generate /tmp/bench10000 10000 -p 1,2
$ ./tools/compare-performance.sh /tmp/bench10000 HEAD HEAD^ '--warmup 3'