Skip to content
Snippets Groups Projects
Pierre-Yves David's avatar
Pierre-Yves David authored
So we can test with more python version.
c061e657
History

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.