On 18/02/2013, at 7:44 PM, Szczepan Faber wrote: > >At some point later, we can rework it into a graph. For example, we'll need > >this to make parallel execution do a better job of scheduling tasks. > > Can you elaborate a bit on how you think Gradle can better schedule tasks for > parallel build?
In parallel mode, we should run a task as soon as its requirements are met, provided we don't run two tasks for the same project at the same time. At the moment we run the tasks for a given project in the same order as non-parallel model and each project is locked to a single thread. This means we can stall a worker waiting for a dependency in some other project to complete, even though that worker can run some other task from the same project or do work from some other project. -- Adam Murdoch Gradle Co-founder http://www.gradle.org VP of Engineering, Gradleware Inc. - Gradle Training, Support, Consulting http://www.gradleware.com
