more CPU-intensive benchmark, add profiling utils
add another profiling option and specify the number of threads