Skip to content
Snippets Groups Projects
user avatar
Raphaël Gomès authored
We will have *at least* a Rust code in the future, but for now this is
code that is no longer relevant and confuses new users of the repo.

We can fetch from it if need be when we start writing Rust components.
eff62483
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.