Skip to content
Snippets Groups Projects
user avatar
Raphaël Gomès authored
This is basically the Mercurial code style, this affords us the luxury of
not thinking about style from now on.
4d177962
History
Name Last commit Last update
bin
docs
python-libs/poulpe
scm-perf
suites/hg
tests
web-ui
.hg-format-source
.hgignore
.hgtags
.nvmrc
README.md
pyproject.toml
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.