Prepared some performance tests with multiprocessing instead of multithreading.