Add benchmark code

Added a simple utility to benchmark against both 0 and 3 threads in the threadpool using two different configurations.

Already includes the cmdline fix from a previous pull request, 'cause I needed it here.