A benchmarking library and tool