maxParallelForks not reducing the build time for android application

I am using maxParallelForks to run tests in parallel. On my local machine I can see substantial difference in build time, unit test time reduced from 20 minutes to just 10 but on Bitrise I can’t see any improvement. Do I need to enable any setting on Bitrise. I can see on Bitrise that test classes are running in parallel but still can’t see any improvement in overall time