1194579
hg clone https://bitbucket.org/mischief/libbench cd libbench mk install
mk benchmark
see the files in the benchmarks/ directory for examples.