Benchmarking code for parlib