Statistics-driven micro-benchmarking library