Add ability to run both with and without workers
Add code to measure timings