Tuning performance of parallel composition