Skip to content

Add support for parallel build in VS #94

@KevinRansom

Description

@KevinRansom

Originally opened on CodePlex byVaskir

Before I installed Daily Builds Preview 12-01-2014 my largdoee solution (~180 projects, ~80 of which are F# ones) was built in about 3 minutes. Now it's built in about 10 minutes.

I looked at fsc.exe processes in Task manager and I didn't see more than one of them at a moment.
I have set number of parallel builds to 8 in VS settings. It seems that parallel build is broken in the latest Preview.

Edit (latkin)
This is longstanding behavior and expected, it is not a regression/break. Updating the bug to reflect >this as a feature request for supporting parallel build.

comments
latkin wrote Dec 2, 2014 at 11:19 AM [x]
Can you share your large solution?

vaskir wrote Dec 2, 2014 at 12:04 PM [x]
Unfortunately, I cannot.

pavelhritonenko wrote Dec 9, 2014 at 3:46 AM [x]
Latest release have same issue

latkin wrote Dec 17, 2014 at 12:14 PM [x]
Interesting, I am having trouble reproducing this. Rather, I am not seeing even older versions do parallel build. Can someone positively confirm on an older release that multiple fsc.exe processes are fanned out with a multi-project solution?
Installing a new preview might cause a slowdown because binaries are not yet ngen'ed.... Does running "ngen executeQueuedItems" form admin prompt help here?

vaskir wrote Dec 17, 2014 at 11:38 PM [x]
OK, so it's not the latest preview issue.
Maybe it's better to close this issue and open a new one, something like "parallel build has never worked"?

KevinRansom wrote Dec 18, 2014 at 1:41 AM [x]
Updated the title to:
Parallel build does not work when building multiple F# projects with the IDE

vaskir wrote Dec 19, 2014 at 4:37 AM [x]
I've compared time needed to rebuild by solution:
Visual Studio: 00:04:18
FAKE: 00:01:47
FAKE was loading 4-core i7 CPU at 100% most of the time (wow).
So, parallel build in VS could make building solutions containing many F# projects almost 2.5x faster.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions