Skip to content
Snippets Groups Projects
Pierre-Yves David's avatar
Pierre-Yves David authored
We will still get error message, but that will skip the very version install log
that clog the logs.
cbe1adb8
History
Name Last commit Last update
bin
cache
datasets
docs
python-libs/poulpe
scm-perf
src
suites/hg
tests
tmp
web-ui
.gitlab-ci.yml
.hg-format-source
.hgignore
.hgtags
.nvmrc
Cargo.lock
Cargo.toml
README.md
pyproject.toml
run
setup.cfg

Megafine

A tool for benchmarking Mercurial. The name is inspired from hyperfine.

Usage

See ./run --help and ./run <subcommand> --help

Example

$ ./run time datasets/default.toml 'hg status'
    Finished release [optimized] target(s) in 0.05s
     Running `target/release/megafine time datasets/default.toml 'hg status'`
Running in format-bytes_2021-11-05_483a743760ac… 131 ms
Running in mercurial-devel_2021-11-05_1a420a13eeea… 159 ms

Cleanup

hg clean -i tmp is safe to run any time Megafine is not running. It should usually do nothing, but might if a process was interrupted.

hg clean -i cache is safe to run any time Megafine is not running, at the cost of CPU time and/or network traffic to rebuild parts as they become needed again.